﻿Public Class TemplatesAjaxControl

    Public Shared Function GetAreaChartCode() As String

        Return "    &lt;div class=&quot;demoarea&quot;&gt; " & vbCrLf & _
"        &lt;div class=&quot;demoheading&quot;&gt; " & vbCrLf & _
"            AreaChart Demonstration&lt;/div&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;strong&gt;Basic Type:&lt;/strong&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;ajaxToolkit:AreaChart ID=&quot;AreaChart1&quot; runat=&quot;server&quot; ChartHeight=&quot;300&quot; ChartWidth=&quot;450&quot; " & vbCrLf & _
"            ChartTitle=&quot;United States versus European Widget Production&quot; CategoriesAxis=&quot;2007,2008,2009,2010,2011,2012&quot; " & vbCrLf & _
"            ChartType=&quot;Basic&quot; ChartTitleColor=&quot;#0E426C&quot; CategoryAxisLineColor=&quot;#D08AD9&quot; ValueAxisLineColor=&quot;#D08AD9&quot; " & vbCrLf & _
"            BaseLineColor=&quot;#A156AB&quot;&gt; " & vbCrLf & _
"            &lt;Series&gt; " & vbCrLf & _
"                &lt;ajaxToolkit:AreaChartSeries Name=&quot;United States&quot; AreaColor=&quot;#6C1E83&quot; Data=&quot;110, 189, 255, 95, 107, 140&quot; /&gt; " & vbCrLf & _
"                &lt;ajaxToolkit:AreaChartSeries Name=&quot;Europe&quot; AreaColor=&quot;#669900&quot; Data=&quot;49, 77, 95, 68, 70, 79&quot; /&gt; " & vbCrLf & _
"            &lt;/Series&gt; " & vbCrLf & _
"        &lt;/ajaxToolkit:AreaChart&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;strong&gt;Stacked Type:&lt;/strong&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;ajaxToolkit:AreaChart ID=&quot;AreaChart2&quot; runat=&quot;server&quot; ChartHeight=&quot;300&quot; ChartWidth=&quot;450&quot; " & vbCrLf & _
"            ChartTitle=&quot;United States versus European Widget Production&quot; CategoriesAxis=&quot;2007,2008,2009,2010,2011,2012&quot; " & vbCrLf & _
"            ChartType=&quot;Stacked&quot; ChartTitleColor=&quot;#0E426C&quot; CategoryAxisLineColor=&quot;#D08AD9&quot; " & vbCrLf & _
"            ValueAxisLineColor=&quot;#D08AD9&quot; BaseLineColor=&quot;#A156AB&quot;&gt; " & vbCrLf & _
"            &lt;Series&gt; " & vbCrLf & _
"                &lt;ajaxToolkit:AreaChartSeries Name=&quot;United States&quot; AreaColor=&quot;#6C1E83&quot; Data=&quot;110, 189, 255, 95, 107, 140&quot; /&gt; " & vbCrLf & _
"                &lt;ajaxToolkit:AreaChartSeries Name=&quot;Europe&quot; AreaColor=&quot;#D08AD9&quot; Data=&quot;49, 77, 95, 68, 70, 79&quot; /&gt; " & vbCrLf & _
"            &lt;/Series&gt; " & vbCrLf & _
"        &lt;/ajaxToolkit:AreaChart&gt; " & vbCrLf & _
"    &lt;/div&gt; " & vbCrLf & _
" "


    End Function

    Public Shared Function GetAreaChart() As String
        Return "        <strong>Basic Type:</strong> " & _
"        <br /> " & _
"        <ajaxToolkit:AreaChart ID=""AreaChart1"" runat=""server"" ChartHeight=""300"" ChartWidth=""450"" " & _
"            ChartTitle=""United States versus European Widget Production"" CategoriesAxis=""2007,2008,2009,2010,2011,2012"" " & _
"            ChartType=""Basic"" ChartTitleColor=""#0E426C"" CategoryAxisLineColor=""#D08AD9"" ValueAxisLineColor=""#D08AD9"" " & _
"            BaseLineColor=""#A156AB""> " & _
"            <Series> " & _
"                <ajaxToolkit:AreaChartSeries Name=""United States"" AreaColor=""#6C1E83"" Data=""110, 189, 255, 95, 107, 140"" /> " & _
"                <ajaxToolkit:AreaChartSeries Name=""Europe"" AreaColor=""#669900"" Data=""49, 77, 95, 68, 70, 79"" /> " & _
"            </Series> " & _
"        </ajaxToolkit:AreaChart> " & _
"        <br /> " & _
"        <strong>Stacked Type:</strong> " & _
"        <br /> " & _
"        <ajaxToolkit:AreaChart ID=""AreaChart2"" runat=""server"" ChartHeight=""300"" ChartWidth=""450"" " & _
"            ChartTitle=""United States versus European Widget Production"" CategoriesAxis=""2007,2008,2009,2010,2011,2012"" " & _
"            ChartType=""Stacked"" ChartTitleColor=""#0E426C"" CategoryAxisLineColor=""#D08AD9"" " & _
"            ValueAxisLineColor=""#D08AD9"" BaseLineColor=""#A156AB""> " & _
"            <Series> " & _
"                <ajaxToolkit:AreaChartSeries Name=""United States"" AreaColor=""#6C1E83"" Data=""110, 189, 255, 95, 107, 140"" /> " & _
"                <ajaxToolkit:AreaChartSeries Name=""Europe"" AreaColor=""#D08AD9"" Data=""49, 77, 95, 68, 70, 79"" /> " & _
"            </Series> " & _
"        </ajaxToolkit:AreaChart> " & _
"		<br /> " & _
" "

    End Function


    Public Shared Function GetAccordion() As String
        Return "        <ajaxToolkit:Accordion ID=""MyAccordion"" runat=""server"" SelectedIndex=""0"" " & _
"            HeaderCssClass=""accordionHeader"" HeaderSelectedCssClass=""accordionHeaderSelected"" " & _
"            ContentCssClass=""accordionContent"" FadeTransitions=""false"" FramesPerSecond=""40""  " & _
"            TransitionDuration=""250"" AutoSize=""None"" RequireOpenedPane=""false"" SuppressHeaderPostbacks=""true""> " & _
"           <Panes> " & _
"            <ajaxToolkit:AccordionPane ID=""AccordionPane1"" runat=""server""> " & _
"                <Header><a href="""" class=""accordionLink"">1. Accordion</a></Header> " & _
"                <Content> " & _
"                    The Accordion is a web control that allows you to provide multiple panes and display them one at a time. " & _
"                    It is like having several <asp:HyperLink runat=""server"" NavigateUrl=""~/CollapsiblePanel/CollapsiblePanel.aspx"" Text=""CollapsiblePanels"" /> " & _
"                    where only one can be expanded at a time.  The Accordion is implemented as a web control that contains " & _
"                    AccordionPane web controls. Each AccordionPane control has a template for its Header and its Content. " & _
"                    We keep track of the selected pane so it stays visible across postbacks. " & _
"                </Content> " & _
"            </ajaxToolkit:AccordionPane> " & _
"            <ajaxToolkit:AccordionPane ID=""AccordionPane2"" runat=""server""> " & _
"                <Header><a href="""" class=""accordionLink"">2. AutoSize</a></Header> " & _
"                <Content> " & _
"                    <p>It also supports three AutoSize modes so it can fit in a variety of layouts.</p> " & _
"                    <ul> " & _
"                        <li><b>None</b> - The Accordion grows/shrinks without restriction.  This can cause other elements " & _
"                            on your page to move up and down with it.</li> " & _
"                        <li><b>Limit</b> - The Accordion never grows larger than the value specified by its Height " & _
"                            property.  This will cause the content to scroll if it is too large to be displayed.</li> " & _
"                        <li><b>Fill</b> - The Accordion always stays the exact same size as its Height property.  This " & _
"                            will cause the content to be expanded or shrunk if it isn't the right size.</li> " & _
"                    </ul> " & _
"                </Content> " & _
"            </ajaxToolkit:AccordionPane> " & _
"            <ajaxToolkit:AccordionPane ID=""AccordionPane3"" runat=""server""> " & _
"                <Header><a href="""" class=""accordionLink"">3. Control or Extender</a></Header> " & _
"                <Content> " & _
"                    The Accordion is written using an extender like most of the other extenders in the AJAX Control Toolkit. " & _
"                    The extender expects its input in a very specific hierarchy of container elements (like divs), so " & _
"                    the Accordion and AccordionPane web controls are used to generate the expected input for the extender. " & _
"                    The extender can also be used on its own if you provide it appropriate input. " & _
"                </Content> " & _
"            </ajaxToolkit:AccordionPane> " & _
"            <ajaxToolkit:AccordionPane ID=""AccordionPane4"" runat=""server""> " & _
"                <Header><a href="""" class=""accordionLink"">4. What is ASP.NET AJAX?</a></Header> " & _
"                <Content> " & _
"                    <asp:Image ID=""Image1"" runat=""server"" ImageUrl=""~/images/AJAX.gif"" AlternateText=""ASP.NET AJAX"" ImageAlign=""right"" /> " & _
"                    <%= GetContentFillerText()%> " & _
"                </Content> " & _
"            </ajaxToolkit:AccordionPane> " & _
"            </Panes> " & _
"        </ajaxToolkit:Accordion> " & _
" "
    End Function

    Public Shared Function GetAccordionCode() As String
        Return "&lt;ajaxToolkit:Accordion ID=&quot;MyAccordion&quot; runat=&quot;server&quot; SelectedIndex=&quot;0&quot; " & vbCrLf & _
"            HeaderCssClass=&quot;accordionHeader&quot; HeaderSelectedCssClass=&quot;accordionHeaderSelected&quot; " & vbCrLf & _
"            ContentCssClass=&quot;accordionContent&quot; FadeTransitions=&quot;false&quot; FramesPerSecond=&quot;40&quot;  " & vbCrLf & _
"            TransitionDuration=&quot;250&quot; AutoSize=&quot;None&quot; RequireOpenedPane=&quot;false&quot; SuppressHeaderPostbacks=&quot;true&quot;&gt; " & vbCrLf & _
"           &lt;Panes&gt; " & vbCrLf & _
"            &lt;ajaxToolkit:AccordionPane ID=&quot;AccordionPane1&quot; runat=&quot;server&quot;&gt; " & vbCrLf & _
"                &lt;Header&gt;&lt;a href=&quot;&quot; class=&quot;accordionLink&quot;&gt;1. Accordion&lt;/a&gt;&lt;/Header&gt; " & vbCrLf & _
"                &lt;Content&gt; " & vbCrLf & _
"                    The Accordion is a web control that allows you to provide multiple panes and display them one at a time. " & vbCrLf & _
"                    It is like having several &lt;asp:HyperLink runat=&quot;server&quot; NavigateUrl=&quot;~/CollapsiblePanel/CollapsiblePanel.aspx&quot; Text=&quot;CollapsiblePanels&quot; /&gt; " & vbCrLf & _
"                    where only one can be expanded at a time.  The Accordion is implemented as a web control that contains " & vbCrLf & _
"                    AccordionPane web controls. Each AccordionPane control has a template for its Header and its Content. " & vbCrLf & _
"                    We keep track of the selected pane so it stays visible across postbacks. " & vbCrLf & _
"                &lt;/Content&gt; " & vbCrLf & _
"            &lt;/ajaxToolkit:AccordionPane&gt; " & vbCrLf & _
"            &lt;ajaxToolkit:AccordionPane ID=&quot;AccordionPane2&quot; runat=&quot;server&quot;&gt; " & vbCrLf & _
"                &lt;Header&gt;&lt;a href=&quot;&quot; class=&quot;accordionLink&quot;&gt;2. AutoSize&lt;/a&gt;&lt;/Header&gt; " & vbCrLf & _
"                &lt;Content&gt; " & vbCrLf & _
"                    &lt;p&gt;It also supports three AutoSize modes so it can fit in a variety of layouts.&lt;/p&gt; " & vbCrLf & _
"                    &lt;ul&gt; " & vbCrLf & _
"                        &lt;li&gt;&lt;b&gt;None&lt;/b&gt; - The Accordion grows/shrinks without restriction.  This can cause other elements " & vbCrLf & _
"                            on your page to move up and down with it.&lt;/li&gt; " & vbCrLf & _
"                        &lt;li&gt;&lt;b&gt;Limit&lt;/b&gt; - The Accordion never grows larger than the value specified by its Height " & vbCrLf & _
"                            property.  This will cause the content to scroll if it is too large to be displayed.&lt;/li&gt; " & vbCrLf & _
"                        &lt;li&gt;&lt;b&gt;Fill&lt;/b&gt; - The Accordion always stays the exact same size as its Height property.  This " & vbCrLf & _
"                            will cause the content to be expanded or shrunk if it isn't the right size.&lt;/li&gt; " & vbCrLf & _
"                    &lt;/ul&gt; " & vbCrLf & _
"                     " & vbCrLf & _
"                &lt;/Content&gt; " & vbCrLf & _
"            &lt;/ajaxToolkit:AccordionPane&gt; " & vbCrLf & _
"            &lt;ajaxToolkit:AccordionPane ID=&quot;AccordionPane3&quot; runat=&quot;server&quot;&gt; " & vbCrLf & _
"                &lt;Header&gt;&lt;a href=&quot;&quot; class=&quot;accordionLink&quot;&gt;3. Control or Extender&lt;/a&gt;&lt;/Header&gt; " & vbCrLf & _
"                &lt;Content&gt; " & vbCrLf & _
"                    The Accordion is written using an extender like most of the other extenders in the AJAX Control Toolkit. " & vbCrLf & _
"                    The extender expects its input in a very specific hierarchy of container elements (like divs), so " & vbCrLf & _
"                    the Accordion and AccordionPane web controls are used to generate the expected input for the extender. " & vbCrLf & _
"                    The extender can also be used on its own if you provide it appropriate input. " & vbCrLf & _
"                &lt;/Content&gt; " & vbCrLf & _
"            &lt;/ajaxToolkit:AccordionPane&gt; " & vbCrLf & _
"            &lt;ajaxToolkit:AccordionPane ID=&quot;AccordionPane4&quot; runat=&quot;server&quot;&gt; " & vbCrLf & _
"                &lt;Header&gt;&lt;a href=&quot;&quot; class=&quot;accordionLink&quot;&gt;4. What is ASP.NET AJAX?&lt;/a&gt;&lt;/Header&gt; " & vbCrLf & _
"                &lt;Content&gt; " & vbCrLf & _
"                    &lt;asp:Image ID=&quot;Image1&quot; runat=&quot;server&quot; ImageUrl=&quot;~/images/AJAX.gif&quot; AlternateText=&quot;ASP.NET AJAX&quot; ImageAlign=&quot;right&quot; /&gt; " & vbCrLf & _
"                    &lt;%= GetContentFillerText()%&gt; " & vbCrLf & _
"                &lt;/Content&gt; " & vbCrLf & _
"            &lt;/ajaxToolkit:AccordionPane&gt; " & vbCrLf & _
"            &lt;/Panes&gt; " & vbCrLf & _
"        &lt;/ajaxToolkit:Accordion&gt; " & vbCrLf & _
" "

    End Function


    Public Shared Function GetAjaxFileUpload() As String
        Return "    <style>.ajax__fileupload_button{background-color: green;}</style> " & _
"    <script type=""text/javascript""> " & _
"        function onClientUploadComplete(sender, e) {var id = e.get_fileId();onImageValidated(""TRUE"", e);} " & _
" " & _
"        function onImageValidated(arg, context) { " & _
"            var test = document.getElementById(""testuploaded""); " & _
"            test.style.display = 'block'; " & _
" " & _
"            var fileList = document.getElementById(""fileList""); " & _
"            var item = document.createElement('div'); " & _
"            item.style.padding = '4px'; " & _
" " & _
"            if (arg == ""TRUE"") { " & _
"                var url = context.get_postedUrl(); " & _
"                url = url.replace('&amp;', '&'); " & _
"                item.appendChild(createThumbnail(context, url)); " & _
"            } else { " & _
"                item.appendChild(createFileInfo(context)); " & _
"            } " & _
"            fileList.appendChild(item); " & _
"        } " & _
" " & _
"        function createFileInfo(e) { " & _
"            var holder = document.createElement('div'); " & _
"            holder.appendChild(document.createTextNode(e.get_fileName() + ' with size ' + e.get_fileSize() + ' bytes')); " & _
"            return holder; " & _
"        } " & _
" " & _
"        function createThumbnail(e, url) { " & _
"            var holder = document.createElement('div'); " & _
"            var img = document.createElement(""img""); " & _
"            img.style.width = '80px'; " & _
"            img.style.height = '80px'; " & _
"            img.setAttribute(""src"", url); " & _
" " & _
"            holder.appendChild(createFileInfo(e)); " & _
"            holder.appendChild(img); " & _
" " & _
"            return holder; " & _
"        } " & _
"    </script> " & _
"    <div class=""demoarea""> " & _
"        <div class=""demoheading""> " & _
"            AjaxFileUpload Demonstration</div> " & _
"        Click <i>Select File</i> to select an image file to upload. You can upload a maximum " & _
"        of 10 jpeg files (files with the .jpg or .jpeg extension) " & _
"        <br /> " & _
"        <asp:Label runat=""server"" ID=""myThrobber"" Style=""display: none;""><img align=""absmiddle"" alt="""" src=""uploading.gif""/></asp:Label> " & _
"        <ajaxToolkit:AjaxFileUpload ID=""AjaxFileUpload1"" runat=""server"" Padding-Bottom=""4"" " & _
"            Padding-Left=""2"" Padding-Right=""1"" Padding-Top=""4"" ThrobberID=""myThrobber"" OnClientUploadComplete=""onClientUploadComplete"" " & _
"            OnUploadComplete=""AjaxFileUpload1_OnUploadComplete"" MaximumNumberOfFiles=""10"" " & _
"            AllowedFileTypes=""jpg,jpeg"" /> " & _
"        <br /> " & _
"        <div id=""testuploaded"" style=""display: none; padding: 4px; border: gray 1px solid;""> " & _
"            <h4> " & _
"                list of uploaded files:</h4> " & _
"            <hr /> " & _
"            <div id=""fileList""> " & _
"            </div> " & _
"        </div> " & _
"        <asp:Button ID=""btnSubmit"" runat=""server"" Text=""Submit"" /> " & _
"    </div> " & _
" "
    End Function

    Public Shared Function GetAjaxFileUploadCode() As String
        Return "    &lt;script type=&quot;text/javascript&quot;&gt; " & vbCrLf & _
"        function fillCell(row, cellNumber, text) { " & vbCrLf & _
"            var cell = row.insertCell(cellNumber); " & vbCrLf & _
"            cell.innerHTML = text; " & vbCrLf & _
"            cell.style.borderBottom = cell.style.borderRight = &quot;solid 1px #aaaaff&quot;; " & vbCrLf & _
"        } " & vbCrLf & _
"        function addToClientTable(name, text) { " & vbCrLf & _
"            var table = document.getElementById(&quot;&lt;%= clientSide.ClientID %&gt;&quot;); " & vbCrLf & _
"            var row = table.insertRow(0); " & vbCrLf & _
"            fillCell(row, 0, name); " & vbCrLf & _
"            fillCell(row, 1, text); " & vbCrLf & _
"        } " & vbCrLf & _
"         " & vbCrLf & _
"        function uploadError(sender, args) { " & vbCrLf & _
"            addToClientTable(args.get_fileName(), &quot;&lt;span style='color:red;'&gt;&quot; + args.get_errorMessage() + &quot;&lt;/span&gt;&quot;); " & vbCrLf & _
"        } " & vbCrLf & _
"        function uploadComplete(sender, args) { " & vbCrLf & _
"            var contentType = args.get_contentType(); " & vbCrLf & _
"            var text = args.get_length() + &quot; bytes&quot;; " & vbCrLf & _
"            if (contentType.length &gt; 0) { " & vbCrLf & _
"                text += &quot;, '&quot; + contentType + &quot;'&quot;; " & vbCrLf & _
"            } " & vbCrLf & _
"            addToClientTable(args.get_fileName(), text); " & vbCrLf & _
"        } " & vbCrLf & _
"    &lt;/script&gt; " & vbCrLf & _
" " & vbCrLf & _
"    &lt;div class=&quot;demoarea&quot;&gt; " & vbCrLf & _
"        &lt;div class=&quot;demoheading&quot;&gt;AsyncFileUpload Demonstration&lt;/div&gt; " & vbCrLf & _
"        Click '&lt;i&gt;Select File&lt;/i&gt;' for asynchronous uploading. " & vbCrLf & _
"        &lt;br /&gt;&lt;br /&gt; " & vbCrLf & _
"         " & vbCrLf & _
"        &lt;ajaxToolkit:AsyncFileUpload " & vbCrLf & _
"            OnClientUploadError=&quot;uploadError&quot; OnClientUploadComplete=&quot;uploadComplete&quot;  " & vbCrLf & _
"            runat=&quot;server&quot; ID=&quot;AsyncFileUpload1&quot; Width=&quot;400px&quot; UploaderStyle=&quot;Modern&quot;  " & vbCrLf & _
"            UploadingBackColor=&quot;#CCFFFF&quot; ThrobberID=&quot;myThrobber&quot; " & vbCrLf & _
"             /&gt;&amp;nbsp;&lt;asp:Label runat=&quot;server&quot; ID=&quot;myThrobber&quot; style=&quot;display:none;&quot; &gt;&lt;img align=&quot;absmiddle&quot; alt=&quot;&quot; src=&quot;uploading.gif&quot; /&gt;&lt;/asp:Label&gt; " & vbCrLf & _
"        &lt;div&gt;&lt;strong&gt;The latest Server-side event:&lt;/strong&gt;&lt;/div&gt; " & vbCrLf & _
"        &lt;asp:Label runat=&quot;server&quot; Text=&quot;&amp;nbsp;&quot; ID=&quot;uploadResult&quot; /&gt; " & vbCrLf & _
"        &lt;br /&gt;&lt;br /&gt; " & vbCrLf & _
"        &lt;div&gt;&lt;strong&gt;Client-side events:&lt;/strong&gt;&lt;/div&gt; " & vbCrLf & _
"        &lt;table style=&quot;border-collapse: collapse; border-left: solid 1px #aaaaff; border-top: solid 1px #aaaaff;&quot; runat=&quot;server&quot; cellpadding=&quot;3&quot; id=&quot;clientSide&quot; /&gt; " & vbCrLf & _
"    &lt;/div&gt; " & vbCrLf & _
" "
    End Function


    Public Shared Function GetAlwaysVisibleControl() As String
        Return "    <div style=""width:230px;height:100px""> " & _
"        <asp:Panel ID=""timer"" runat=""server"" " & _
"            Width=""250px"" BackColor=""White"" ForeColor=""DarkBlue"" " & _
"            BorderWidth=""2"" BorderStyle=""solid"" BorderColor=""DarkBlue"" style=""z-index: 1;""> " & _
"                <div style=""width: 100%; height: 100%; vertical-align: middle; text-align: center;""> " & _
"                    <p>Current Time:</p> " & _
"                    <span id=""currentTime"" runat=""server"" style=""font-size:xx-large;font-weight:bold;line-height:40px;""/> " & _
"                </div> " & _
"        </asp:Panel> " & _
"        <ajaxToolkit:AlwaysVisibleControlExtender ID=""avce"" runat=""server"" " & _
"            TargetControlID=""timer"" " & _
"            VerticalSide=""Top"" " & _
"            VerticalOffset=""10"" " & _
"            HorizontalSide=""Right"" " & _
"            HorizontalOffset=""10"" " & _
"            ScrollEffectDuration="".1"" /> " & _
"    </div> " & _
"	 " & _
"         <script type=""text/javascript"" language=""javascript""> " & _
"            function updateTime() { " & _
"                var label = document.getElementById('ctl00_SampleContent_currentTime'); " & _
"                if (label) {var time = (new Date()).localeFormat(""T"");label.innerHTML = time;} " & _
"            } " & _
"            updateTime(); " & _
"            window.setInterval(updateTime, 1000); " & _
"        </script> " & _
" "
    End Function

    Public Shared Function GetAlwaysVisibleControlCode() As String
        Return "    &lt;div class=&quot;demoarea&quot;&gt; " & vbCrLf & _
"        &lt;div class=&quot;demoheading&quot;&gt;AlwaysVisibleControl Demonstration&lt;/div&gt; " & vbCrLf & _
"        &lt;asp:UpdatePanel runat=&quot;server&quot; ID=&quot;UpdatePanel1&quot; &gt; " & vbCrLf & _
"            &lt;ContentTemplate&gt; " & vbCrLf & _
"                &lt;div style=&quot;width:230px;height:100px&quot;&gt; " & vbCrLf & _
"                    &lt;asp:Panel ID=&quot;timer&quot; runat=&quot;server&quot; " & vbCrLf & _
"                        Width=&quot;250px&quot; BackColor=&quot;White&quot; ForeColor=&quot;DarkBlue&quot; " & vbCrLf & _
"                        BorderWidth=&quot;2&quot; BorderStyle=&quot;solid&quot; BorderColor=&quot;DarkBlue&quot; style=&quot;z-index: 1;&quot;&gt; " & vbCrLf & _
"                            &lt;div style=&quot;width: 100%; height: 100%; vertical-align: middle; text-align: center;&quot;&gt; " & vbCrLf & _
"                                &lt;p&gt;Current Time:&lt;/p&gt; " & vbCrLf & _
"                                &lt;span id=&quot;currentTime&quot; runat=&quot;server&quot; style=&quot;font-size:xx-large;font-weight:bold;line-height:40px;&quot;/&gt; " & vbCrLf & _
"                            &lt;/div&gt; " & vbCrLf & _
"                    &lt;/asp:Panel&gt; " & vbCrLf & _
"                    &lt;ajaxToolkit:AlwaysVisibleControlExtender ID=&quot;avce&quot; runat=&quot;server&quot; " & vbCrLf & _
"                        TargetControlID=&quot;timer&quot; " & vbCrLf & _
"                        VerticalSide=&quot;Top&quot; " & vbCrLf & _
"                        VerticalOffset=&quot;10&quot; " & vbCrLf & _
"                        HorizontalSide=&quot;Right&quot; " & vbCrLf & _
"                        HorizontalOffset=&quot;10&quot; " & vbCrLf & _
"                        ScrollEffectDuration=&quot;.1&quot; /&gt; " & vbCrLf & _
"                &lt;/div&gt; " & vbCrLf & _
"                &lt;p&gt; " & vbCrLf & _
"                    Choose a position for the clock from the list below. Scroll your browser window to see " & vbCrLf & _
"                    the control maintain its always-visible position.   " & vbCrLf & _
"                &lt;/p&gt; " & vbCrLf & _
"                &lt;p&gt; " & vbCrLf & _
"                    Position: &lt;asp:DropDownList ID=&quot;ddlPosition&quot; runat=&quot;server&quot;  " & vbCrLf & _
"                        AutoPostBack=&quot;true&quot; OnSelectedIndexChanged=&quot;OnChange&quot;&gt; " & vbCrLf & _
"                        &lt;asp:ListItem Text=&quot;Default&quot; Selected=&quot;true&quot;  Value=&quot;None&quot; /&gt; " & vbCrLf & _
"                        &lt;asp:ListItem Text=&quot;Top Left&quot; Value=&quot;TL&quot; /&gt; " & vbCrLf & _
"                        &lt;asp:ListItem Text=&quot;Top Center&quot; Value=&quot;TC&quot; /&gt; " & vbCrLf & _
"                        &lt;asp:ListItem Text=&quot;Top Right&quot;  Value=&quot;TR&quot; /&gt; " & vbCrLf & _
"                        &lt;asp:ListItem Text=&quot;Middle Left&quot; Value=&quot;ML&quot; /&gt; " & vbCrLf & _
"                        &lt;asp:ListItem Text=&quot;Middle Center&quot; Value=&quot;MC&quot; /&gt; " & vbCrLf & _
"                        &lt;asp:ListItem Text=&quot;Middle Right&quot;  Value=&quot;MR&quot; /&gt; " & vbCrLf & _
"                        &lt;asp:ListItem Text=&quot;Bottom Left&quot; Value=&quot;BL&quot; /&gt; " & vbCrLf & _
"                        &lt;asp:ListItem Text=&quot;Bottom Center&quot; Value=&quot;BC&quot; /&gt; " & vbCrLf & _
"                        &lt;asp:ListItem Text=&quot;Bottom Right&quot; Value=&quot;BR&quot; /&gt; " & vbCrLf & _
"                    &lt;/asp:DropDownList&gt; " & vbCrLf & _
"                &lt;/p&gt; " & vbCrLf & _
"            &lt;/ContentTemplate&gt; " & vbCrLf & _
"         &lt;/asp:UpdatePanel&gt; " & vbCrLf & _
"          " & vbCrLf & _
"         &lt;script type=&quot;text/javascript&quot; language=&quot;javascript&quot;&gt; " & vbCrLf & _
"            function updateTime() " & vbCrLf & _
"            { " & vbCrLf & _
"                var label = document.getElementById('ctl00_SampleContent_currentTime'); " & vbCrLf & _
"                if (label) { " & vbCrLf & _
"                    var time = (new Date()).localeFormat(&quot;T&quot;); " & vbCrLf & _
"                    label.innerHTML = time; " & vbCrLf & _
"                } " & vbCrLf & _
"            } " & vbCrLf & _
"            updateTime(); " & vbCrLf & _
"            window.setInterval(updateTime, 1000); " & vbCrLf & _
"        &lt;/script&gt; " & vbCrLf & _
"    &lt;/div&gt; " & vbCrLf & _
" "
    End Function


    Public Shared Function GetAnimation() As String
        Throw New NotImplementedException
    End Function

    Public Shared Function GetAnimationCode() As String
        Throw New NotImplementedException
    End Function

    Public Shared Function GetAsyncFileUpload() As String
        Throw New NotImplementedException
    End Function

    Public Shared Function GetAsyncFileUploadCode() As String
        Throw New NotImplementedException
    End Function


    Public Shared Function GetAutoComplete() As String
        Return "<div class=""demoarea""> " & _
"        <div class=""demoheading"">AutoComplete Demonstration</div> " & _
"            Type some characters in this textbox.  The web service returns random words " & _
"            that start with the text you have typed. " & _
"            <br /><br /> " & _
"            <asp:TextBox runat=""server"" ID=""myTextBox"" Width=""300"" autocomplete=""off"" /> " & _
"            <ajaxToolkit:AutoCompleteExtender " & _
"                runat=""server""  " & _
"                BehaviorID=""AutoCompleteEx"" " & _
"                ID=""autoComplete1""  " & _
"                TargetControlID=""myTextBox"" " & _
"                ServicePath=""AutoComplete.asmx""  " & _
"                ServiceMethod=""GetCompletionList"" " & _
"                MinimumPrefixLength=""2""  " & _
"                CompletionInterval=""1000"" " & _
"                EnableCaching=""true"" " & _
"                CompletionSetCount=""20"" " & _
"                CompletionListCssClass=""autocomplete_completionListElement""  " & _
"                CompletionListItemCssClass=""autocomplete_listItem""  " & _
"                CompletionListHighlightedItemCssClass=""autocomplete_highlightedListItem"" " & _
"                DelimiterCharacters="";, :"" " & _
"                ShowOnlyCurrentWordInCompletionListItem=""true"" > " & _
"                <Animations> " & _
"                    <OnShow> " & _
"                        <Sequence> " & _
"                            <%-- Make the completion list transparent and then show it --%> " & _
"                            <OpacityAction Opacity=""0"" /> " & _
"                            <HideAction Visible=""true"" /> " & _
"                             " & _
"                            <%--Cache the original size of the completion list the first time " & _
"                                the animation is played and then set it to zero --%> " & _
"                            <ScriptAction Script="" " & _
"                                // Cache the size and setup the initial size " & _
"                                var behavior = $find('AutoCompleteEx'); " & _
"                                if (!behavior._height) { " & _
"                                    var target = behavior.get_completionList(); " & _
"                                    behavior._height = target.offsetHeight - 2; " & _
"                                    target.style.height = '0px'; " & _
"                                }"" /> " & _
"                             " & _
"                            <%-- Expand from 0px to the appropriate size while fading in --%> " & _
"                            <Parallel Duration="".4""> " & _
"                                <FadeIn /> " & _
"                                <Length PropertyKey=""height"" StartValue=""0"" EndValueScript=""$find('AutoCompleteEx')._height"" /> " & _
"                            </Parallel> " & _
"                        </Sequence> " & _
"                    </OnShow> " & _
"                    <OnHide> " & _
"                        <%-- Collapse down to 0px and fade out --%> " & _
"                        <Parallel Duration="".4""> " & _
"                            <FadeOut /> " & _
"                            <Length PropertyKey=""height"" StartValueScript=""$find('AutoCompleteEx')._height"" EndValue=""0"" /> " & _
"                        </Parallel> " & _
"                    </OnHide> " & _
"                </Animations> " & _
"            </ajaxToolkit:AutoCompleteExtender> " & _
" " & _
"            <script type=""text/javascript""> " & _
"                // Work around browser behavior of ""auto-submitting"" simple forms " & _
"                var frm = document.getElementById(""aspnetForm""); " & _
"                if (frm) { " & _
"                    frm.onsubmit = function() { return false; }; " & _
"                } " & _
"            </script> " & _
"            <%-- Prevent enter in textbox from causing the collapsible panel from operating --%> " & _
"            <input type=""submit"" style=""display:none;"" /> " & _
"    </div> " & _
"	 " & _
"	'-- NO ASMX " & _
"	using System; " & _
"using System.Collections.Generic; " & _
"using System.Web.Services; " & _
" " & _
"[WebService(Namespace = ""http://tempuri.org/"")] " & _
"[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] " & _
"[System.Web.Script.Services.ScriptService] " & _
"public class AutoComplete : WebService " & _
"{ " & _
"    public AutoComplete() " & _
"    { " & _
"    } " & _
" " & _
"    [WebMethod] " & _
"    public string[] GetCompletionList(string prefixText, int count) " & _
"    { " & _
"        if (count == 0) " & _
"        { " & _
"            count = 10; " & _
"        } " & _
" " & _
"        if (prefixText.Equals(""xyz"")) " & _
"        { " & _
"            return new string[0]; " & _
"        } " & _
" " & _
"        Random random = new Random(); " & _
"        List<string> items = new List<string>(count); " & _
"        for (int i = 0; i < count; i++) " & _
"        { " & _
"            char c1 = (char) random.Next(65, 90); " & _
"            char c2 = (char) random.Next(97, 122); " & _
"            char c3 = (char) random.Next(97, 122); " & _
" " & _
"            items.Add(prefixText + c1 + c2 + c3); " & _
"        } " & _
" " & _
"        return items.ToArray(); " & _
"    } " & _
"} " & _
" "
    End Function

    Public Shared Function GetAutoCompleteCode() As String
        Return "&lt;div class=&quot;demoarea&quot;&gt; " & vbCrLf & _
"        &lt;div class=&quot;demoheading&quot;&gt;AutoComplete Demonstration&lt;/div&gt; " & vbCrLf & _
"            Type some characters in this textbox.  The web service returns random words " & vbCrLf & _
"            that start with the text you have typed. " & vbCrLf & _
"            &lt;br /&gt;&lt;br /&gt; " & vbCrLf & _
"            &lt;asp:TextBox runat=&quot;server&quot; ID=&quot;myTextBox&quot; Width=&quot;300&quot; autocomplete=&quot;off&quot; /&gt; " & vbCrLf & _
"            &lt;ajaxToolkit:AutoCompleteExtender " & vbCrLf & _
"                runat=&quot;server&quot;  " & vbCrLf & _
"                BehaviorID=&quot;AutoCompleteEx&quot; " & vbCrLf & _
"                ID=&quot;autoComplete1&quot;  " & vbCrLf & _
"                TargetControlID=&quot;myTextBox&quot; " & vbCrLf & _
"                ServicePath=&quot;AutoComplete.asmx&quot;  " & vbCrLf & _
"                ServiceMethod=&quot;GetCompletionList&quot; " & vbCrLf & _
"                MinimumPrefixLength=&quot;2&quot;  " & vbCrLf & _
"                CompletionInterval=&quot;1000&quot; " & vbCrLf & _
"                EnableCaching=&quot;true&quot; " & vbCrLf & _
"                CompletionSetCount=&quot;20&quot; " & vbCrLf & _
"                CompletionListCssClass=&quot;autocomplete_completionListElement&quot;  " & vbCrLf & _
"                CompletionListItemCssClass=&quot;autocomplete_listItem&quot;  " & vbCrLf & _
"                CompletionListHighlightedItemCssClass=&quot;autocomplete_highlightedListItem&quot; " & vbCrLf & _
"                DelimiterCharacters=&quot;;, :&quot; " & vbCrLf & _
"                ShowOnlyCurrentWordInCompletionListItem=&quot;true&quot; &gt; " & vbCrLf & _
"                &lt;Animations&gt; " & vbCrLf & _
"                    &lt;OnShow&gt; " & vbCrLf & _
"                        &lt;Sequence&gt; " & vbCrLf & _
"                            &lt;%-- Make the completion list transparent and then show it --%&gt; " & vbCrLf & _
"                            &lt;OpacityAction Opacity=&quot;0&quot; /&gt; " & vbCrLf & _
"                            &lt;HideAction Visible=&quot;true&quot; /&gt; " & vbCrLf & _
"                             " & vbCrLf & _
"                            &lt;%--Cache the original size of the completion list the first time " & vbCrLf & _
"                                the animation is played and then set it to zero --%&gt; " & vbCrLf & _
"                            &lt;ScriptAction Script=&quot; " & vbCrLf & _
"                                // Cache the size and setup the initial size " & vbCrLf & _
"                                var behavior = $find('AutoCompleteEx'); " & vbCrLf & _
"                                if (!behavior._height) { " & vbCrLf & _
"                                    var target = behavior.get_completionList(); " & vbCrLf & _
"                                    behavior._height = target.offsetHeight - 2; " & vbCrLf & _
"                                    target.style.height = '0px'; " & vbCrLf & _
"                                }&quot; /&gt; " & vbCrLf & _
"                             " & vbCrLf & _
"                            &lt;%-- Expand from 0px to the appropriate size while fading in --%&gt; " & vbCrLf & _
"                            &lt;Parallel Duration=&quot;.4&quot;&gt; " & vbCrLf & _
"                                &lt;FadeIn /&gt; " & vbCrLf & _
"                                &lt;Length PropertyKey=&quot;height&quot; StartValue=&quot;0&quot; EndValueScript=&quot;$find('AutoCompleteEx')._height&quot; /&gt; " & vbCrLf & _
"                            &lt;/Parallel&gt; " & vbCrLf & _
"                        &lt;/Sequence&gt; " & vbCrLf & _
"                    &lt;/OnShow&gt; " & vbCrLf & _
"                    &lt;OnHide&gt; " & vbCrLf & _
"                        &lt;%-- Collapse down to 0px and fade out --%&gt; " & vbCrLf & _
"                        &lt;Parallel Duration=&quot;.4&quot;&gt; " & vbCrLf & _
"                            &lt;FadeOut /&gt; " & vbCrLf & _
"                            &lt;Length PropertyKey=&quot;height&quot; StartValueScript=&quot;$find('AutoCompleteEx')._height&quot; EndValue=&quot;0&quot; /&gt; " & vbCrLf & _
"                        &lt;/Parallel&gt; " & vbCrLf & _
"                    &lt;/OnHide&gt; " & vbCrLf & _
"                &lt;/Animations&gt; " & vbCrLf & _
"            &lt;/ajaxToolkit:AutoCompleteExtender&gt; " & vbCrLf & _
" " & vbCrLf & _
"            &lt;script type=&quot;text/javascript&quot;&gt; " & vbCrLf & _
"                // Work around browser behavior of &quot;auto-submitting&quot; simple forms " & vbCrLf & _
"                var frm = document.getElementById(&quot;aspnetForm&quot;); " & vbCrLf & _
"                if (frm) { " & vbCrLf & _
"                    frm.onsubmit = function() { return false; }; " & vbCrLf & _
"                } " & vbCrLf & _
"            &lt;/script&gt; " & vbCrLf & _
"            &lt;%-- Prevent enter in textbox from causing the collapsible panel from operating --%&gt; " & vbCrLf & _
"            &lt;input type=&quot;submit&quot; style=&quot;display:none;&quot; /&gt; " & vbCrLf & _
"    &lt;/div&gt; " & vbCrLf & _
"	 " & vbCrLf & _
"	'-- NO ASMX " & vbCrLf & _
"	using System; " & vbCrLf & _
"using System.Collections.Generic; " & vbCrLf & _
"using System.Web.Services; " & vbCrLf & _
" " & vbCrLf & _
"[WebService(Namespace = &quot;http://tempuri.org/&quot;)] " & vbCrLf & _
"[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] " & vbCrLf & _
"[System.Web.Script.Services.ScriptService] " & vbCrLf & _
"public class AutoComplete : WebService " & vbCrLf & _
"{ " & vbCrLf & _
"    public AutoComplete() " & vbCrLf & _
"    { " & vbCrLf & _
"    } " & vbCrLf & _
" " & vbCrLf & _
"    [WebMethod] " & vbCrLf & _
"    public string[] GetCompletionList(string prefixText, int count) " & vbCrLf & _
"    { " & vbCrLf & _
"        if (count == 0) " & vbCrLf & _
"        { " & vbCrLf & _
"            count = 10; " & vbCrLf & _
"        } " & vbCrLf & _
" " & vbCrLf & _
"        if (prefixText.Equals(&quot;xyz&quot;)) " & vbCrLf & _
"        { " & vbCrLf & _
"            return new string[0]; " & vbCrLf & _
"        } " & vbCrLf & _
" " & vbCrLf & _
"        Random random = new Random(); " & vbCrLf & _
"        List&lt;string&gt; items = new List&lt;string&gt;(count); " & vbCrLf & _
"        for (int i = 0; i &lt; count; i++) " & vbCrLf & _
"        { " & vbCrLf & _
"            char c1 = (char) random.Next(65, 90); " & vbCrLf & _
"            char c2 = (char) random.Next(97, 122); " & vbCrLf & _
"            char c3 = (char) random.Next(97, 122); " & vbCrLf & _
" " & vbCrLf & _
"            items.Add(prefixText + c1 + c2 + c3); " & vbCrLf & _
"        } " & vbCrLf & _
" " & vbCrLf & _
"        return items.ToArray(); " & vbCrLf & _
"    } " & vbCrLf & _
"} " & vbCrLf & _
" "
    End Function


    Public Shared Function GetBalloonPopup() As String
        Return "<div class=""demoarea""> " & _
"        <div class=""demoheading""> " & _
"            BalloonPopupExtender Demonstration</div> " & _
"            <p> " & _
"            Click inside either of the two TextBox controls below or click the link to see " & _
"            a demonstration of the BalloonPopupExtender control. " & _
"            </p> " & _
" " & _
"        <asp:TextBox ID=""MessageTextBox"" runat=""server"" Width=""200"" autocomplete=""off"" /> " & _
"        <br /> " & _
"        <br /> " & _
"        <asp:Panel ID=""Panel2"" runat=""server""> " & _
"            This Balloon Popup uses the Cloud style. " & _
"        </asp:Panel> " & _
"        <ajaxToolkit:BalloonPopupExtender ID=""PopupControlExtender2"" runat=""server"" TargetControlID=""MessageTextBox"" " & _
"            BalloonPopupControlID=""Panel2"" Position=""BottomRight"" BalloonStyle=""Cloud"" BalloonSize=""Small"" " & _
"            UseShadow=""false"" DisplayOnClick=""true"" DisplayOnFocus=""true"" /> " & _
"        <br /> " & _
"        <br /> " & _
"        <asp:HyperLink ID=""link1"" runat=""server"">Click Here to Show the Balloon Popup</asp:HyperLink> " & _
"        <br /> " & _
"        <br /> " & _
"        <asp:Panel ID=""Panel1"" runat=""server""> " & _
"            This Balloon Popup appears when you click the link. It uses a Rectangle style and it is set to  " & _
"            appear at the top-right of the link. " & _
"        </asp:Panel> " & _
"        <ajaxToolkit:BalloonPopupExtender ID=""BalloonPopupExtender1"" runat=""server"" TargetControlID=""link1"" " & _
"            BalloonPopupControlID=""Panel1"" Position=""TopRight"" BalloonStyle=""Rectangle"" BalloonSize=""Small"" " & _
"            UseShadow=""true"" /> " & _
"        <br /> " & _
"        <br /> " & _
"        <asp:TextBox ID=""txtCustom"" runat=""server"" Width=""200"" autocomplete=""off"" /> " & _
"        <br /> " & _
"        <br /> " & _
"        <asp:Panel ID=""Panel3"" runat=""server""> " & _
"            This is a custom BalloonPopupExtender style created with a custom Cascading Style Sheet.  " & _
"        </asp:Panel> " & _
"        <ajaxToolkit:BalloonPopupExtender ID=""BalloonPopupExtender2"" runat=""server"" TargetControlID=""txtCustom"" " & _
"            BalloonPopupControlID=""Panel3"" Position=""BottomRight"" BalloonStyle=""Custom"" CustomCssUrl=""CustomStyle/BalloonPopupOvalStyle.css"" " & _
"            CustomClassName=""oval"" BalloonSize=""Medium"" UseShadow=""true"" /> " & _
"    </div> " & _
" "
    End Function

    Public Shared Function GetBalloonPopupCode() As String
        Return "&lt;div class=&quot;demoarea&quot;&gt; " & vbCrLf & _
"        &lt;div class=&quot;demoheading&quot;&gt; " & vbCrLf & _
"            BalloonPopupExtender Demonstration&lt;/div&gt; " & vbCrLf & _
"            &lt;p&gt; " & vbCrLf & _
"            Click inside either of the two TextBox controls below or click the link to see " & vbCrLf & _
"            a demonstration of the BalloonPopupExtender control. " & vbCrLf & _
"            &lt;/p&gt; " & vbCrLf & _
" " & vbCrLf & _
"        &lt;asp:TextBox ID=&quot;MessageTextBox&quot; runat=&quot;server&quot; Width=&quot;200&quot; autocomplete=&quot;off&quot; /&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;asp:Panel ID=&quot;Panel2&quot; runat=&quot;server&quot;&gt; " & vbCrLf & _
"            This Balloon Popup uses the Cloud style. " & vbCrLf & _
"        &lt;/asp:Panel&gt; " & vbCrLf & _
"        &lt;ajaxToolkit:BalloonPopupExtender ID=&quot;PopupControlExtender2&quot; runat=&quot;server&quot; TargetControlID=&quot;MessageTextBox&quot; " & vbCrLf & _
"            BalloonPopupControlID=&quot;Panel2&quot; Position=&quot;BottomRight&quot; BalloonStyle=&quot;Cloud&quot; BalloonSize=&quot;Small&quot; " & vbCrLf & _
"            UseShadow=&quot;false&quot; DisplayOnClick=&quot;true&quot; DisplayOnFocus=&quot;true&quot; /&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;asp:HyperLink ID=&quot;link1&quot; runat=&quot;server&quot;&gt;Click Here to Show the Balloon Popup&lt;/asp:HyperLink&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;asp:Panel ID=&quot;Panel1&quot; runat=&quot;server&quot;&gt; " & vbCrLf & _
"            This Balloon Popup appears when you click the link. It uses a Rectangle style and it is set to  " & vbCrLf & _
"            appear at the top-right of the link. " & vbCrLf & _
"        &lt;/asp:Panel&gt; " & vbCrLf & _
"        &lt;ajaxToolkit:BalloonPopupExtender ID=&quot;BalloonPopupExtender1&quot; runat=&quot;server&quot; TargetControlID=&quot;link1&quot; " & vbCrLf & _
"            BalloonPopupControlID=&quot;Panel1&quot; Position=&quot;TopRight&quot; BalloonStyle=&quot;Rectangle&quot; BalloonSize=&quot;Small&quot; " & vbCrLf & _
"            UseShadow=&quot;true&quot; /&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;asp:TextBox ID=&quot;txtCustom&quot; runat=&quot;server&quot; Width=&quot;200&quot; autocomplete=&quot;off&quot; /&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;asp:Panel ID=&quot;Panel3&quot; runat=&quot;server&quot;&gt; " & vbCrLf & _
"            This is a custom BalloonPopupExtender style created with a custom Cascading Style Sheet.  " & vbCrLf & _
"        &lt;/asp:Panel&gt; " & vbCrLf & _
"        &lt;ajaxToolkit:BalloonPopupExtender ID=&quot;BalloonPopupExtender2&quot; runat=&quot;server&quot; TargetControlID=&quot;txtCustom&quot; " & vbCrLf & _
"            BalloonPopupControlID=&quot;Panel3&quot; Position=&quot;BottomRight&quot; BalloonStyle=&quot;Custom&quot; CustomCssUrl=&quot;CustomStyle/BalloonPopupOvalStyle.css&quot; " & vbCrLf & _
"            CustomClassName=&quot;oval&quot; BalloonSize=&quot;Medium&quot; UseShadow=&quot;true&quot; /&gt; " & vbCrLf & _
"    &lt;/div&gt; " & vbCrLf & _
" "

    End Function


    Public Shared Function GetBarChart() As String
        Return "<div class=""demoarea""> " & _
"        <div class=""demoheading""> " & _
"            BarChart Demonstration</div> " & _
"        <br /> " & _
"        <strong>Column Chart:</strong> " & _
"        <br /> " & _
"        <ajaxToolkit:BarChart ID=""BarChart1"" runat=""server"" ChartHeight=""300"" ChartWidth=""450"" " & _
"            ChartTitle=""United States versus European Widget Production"" CategoriesAxis=""2007,2008,2009,2010,2011,2012"" " & _
"            ChartType=""Column"" ChartTitleColor=""#0E426C"" CategoryAxisLineColor=""#D08AD9"" " & _
"            ValueAxisLineColor=""#D08AD9"" BaseLineColor=""#A156AB""> " & _
"            <series> " & _
"            <ajaxToolkit:BarChartSeries Name=""United States"" BarColor=""#6C1E83"" Data=""110, 189, 255, 95, 107, 140"" /> " & _
"            <ajaxToolkit:BarChartSeries Name=""Europe""  BarColor=""#D08AD9"" Data=""49, 77, 95, 68, 70, 79"" /> " & _
"        </series> " & _
"        </ajaxToolkit:BarChart> " & _
"        <br /> " & _
"        <strong>StackedColumn Chart:</strong> " & _
"        <br /> " & _
"        <ajaxToolkit:BarChart ID=""BarChart2"" runat=""server"" ChartHeight=""300"" ChartWidth=""450"" " & _
"            ChartTitle=""United States versus European Widget Production"" CategoriesAxis=""2007,2008,2009,2010,2011,2012"" " & _
"            ChartType=""StackedColumn"" ChartTitleColor=""#0E426C"" CategoryAxisLineColor=""#D08AD9"" " & _
"            ValueAxisLineColor=""#D08AD9"" BaseLineColor=""#A156AB""> " & _
"            <series> " & _
"            <ajaxToolkit:BarChartSeries Name=""United States"" BarColor=""#6C1E83"" Data=""110, 189, 255, 95, 107, 140"" /> " & _
"            <ajaxToolkit:BarChartSeries Name=""Europe""  BarColor=""#D08AD9"" Data=""49, 77, 95, 68, 70, 79"" /> " & _
"        </series> " & _
"        </ajaxToolkit:BarChart> " & _
"        <br /> " & _
"        <strong>Bar Chart:</strong> " & _
"        <br /> " & _
"        <ajaxToolkit:BarChart ID=""BarChart3"" runat=""server"" ChartHeight=""300"" ChartWidth=""450"" " & _
"            ChartTitle=""United States versus European Widget Production"" CategoriesAxis=""2007,2008,2009,2010,2011,2012"" " & _
"            ChartType=""Bar"" ChartTitleColor=""#0E426C"" CategoryAxisLineColor=""#D08AD9"" ValueAxisLineColor=""#D08AD9"" " & _
"            BaseLineColor=""#A156AB""> " & _
"            <series> " & _
"            <ajaxToolkit:BarChartSeries Name=""United States"" BarColor=""#6C1E83"" Data=""110, 189, 255, 95, 107, 140"" /> " & _
"            <ajaxToolkit:BarChartSeries Name=""Europe""  BarColor=""#D08AD9"" Data=""49, 77, 95, 68, 70, 79"" /> " & _
"        </series> " & _
"        </ajaxToolkit:BarChart> " & _
"        <br /> " & _
"        <strong>StackedBar Chart:</strong> " & _
"        <br /> " & _
"        <ajaxToolkit:BarChart ID=""BarChart4"" runat=""server"" ChartHeight=""300"" ChartWidth=""450"" " & _
"            ChartTitle=""United States versus European Widget Production"" CategoriesAxis=""2007,2008,2009,2010,2011,2012"" " & _
"            ChartType=""StackedBar"" ChartTitleColor=""#0E426C"" CategoryAxisLineColor=""#D08AD9"" " & _
"            ValueAxisLineColor=""#D08AD9"" BaseLineColor=""#A156AB""> " & _
"            <series> " & _
"            <ajaxToolkit:BarChartSeries Name=""United States"" BarColor=""#6C1E83"" Data=""110, 189, 255, 95, 107, 140"" /> " & _
"            <ajaxToolkit:BarChartSeries Name=""Europe""  BarColor=""#D08AD9"" Data=""49, 77, 95, 68, 70, 79"" /> " & _
"        </series> " & _
"        </ajaxToolkit:BarChart> " & _
"        <br /> " & _
"    </div> " & _
" "
    End Function

    Public Shared Function GetBarChartCode() As String
        Return "&lt;div class=&quot;demoarea&quot;&gt; " & vbCrLf & _
"        &lt;div class=&quot;demoheading&quot;&gt; " & vbCrLf & _
"            BarChart Demonstration&lt;/div&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;strong&gt;Column Chart:&lt;/strong&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;ajaxToolkit:BarChart ID=&quot;BarChart1&quot; runat=&quot;server&quot; ChartHeight=&quot;300&quot; ChartWidth=&quot;450&quot; " & vbCrLf & _
"            ChartTitle=&quot;United States versus European Widget Production&quot; CategoriesAxis=&quot;2007,2008,2009,2010,2011,2012&quot; " & vbCrLf & _
"            ChartType=&quot;Column&quot; ChartTitleColor=&quot;#0E426C&quot; CategoryAxisLineColor=&quot;#D08AD9&quot; " & vbCrLf & _
"            ValueAxisLineColor=&quot;#D08AD9&quot; BaseLineColor=&quot;#A156AB&quot;&gt; " & vbCrLf & _
"            &lt;series&gt; " & vbCrLf & _
"            &lt;ajaxToolkit:BarChartSeries Name=&quot;United States&quot; BarColor=&quot;#6C1E83&quot; Data=&quot;110, 189, 255, 95, 107, 140&quot; /&gt; " & vbCrLf & _
"            &lt;ajaxToolkit:BarChartSeries Name=&quot;Europe&quot;  BarColor=&quot;#D08AD9&quot; Data=&quot;49, 77, 95, 68, 70, 79&quot; /&gt; " & vbCrLf & _
"        &lt;/series&gt; " & vbCrLf & _
"        &lt;/ajaxToolkit:BarChart&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;strong&gt;StackedColumn Chart:&lt;/strong&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;ajaxToolkit:BarChart ID=&quot;BarChart2&quot; runat=&quot;server&quot; ChartHeight=&quot;300&quot; ChartWidth=&quot;450&quot; " & vbCrLf & _
"            ChartTitle=&quot;United States versus European Widget Production&quot; CategoriesAxis=&quot;2007,2008,2009,2010,2011,2012&quot; " & vbCrLf & _
"            ChartType=&quot;StackedColumn&quot; ChartTitleColor=&quot;#0E426C&quot; CategoryAxisLineColor=&quot;#D08AD9&quot; " & vbCrLf & _
"            ValueAxisLineColor=&quot;#D08AD9&quot; BaseLineColor=&quot;#A156AB&quot;&gt; " & vbCrLf & _
"            &lt;series&gt; " & vbCrLf & _
"            &lt;ajaxToolkit:BarChartSeries Name=&quot;United States&quot; BarColor=&quot;#6C1E83&quot; Data=&quot;110, 189, 255, 95, 107, 140&quot; /&gt; " & vbCrLf & _
"            &lt;ajaxToolkit:BarChartSeries Name=&quot;Europe&quot;  BarColor=&quot;#D08AD9&quot; Data=&quot;49, 77, 95, 68, 70, 79&quot; /&gt; " & vbCrLf & _
"        &lt;/series&gt; " & vbCrLf & _
"        &lt;/ajaxToolkit:BarChart&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;strong&gt;Bar Chart:&lt;/strong&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;ajaxToolkit:BarChart ID=&quot;BarChart3&quot; runat=&quot;server&quot; ChartHeight=&quot;300&quot; ChartWidth=&quot;450&quot; " & vbCrLf & _
"            ChartTitle=&quot;United States versus European Widget Production&quot; CategoriesAxis=&quot;2007,2008,2009,2010,2011,2012&quot; " & vbCrLf & _
"            ChartType=&quot;Bar&quot; ChartTitleColor=&quot;#0E426C&quot; CategoryAxisLineColor=&quot;#D08AD9&quot; ValueAxisLineColor=&quot;#D08AD9&quot; " & vbCrLf & _
"            BaseLineColor=&quot;#A156AB&quot;&gt; " & vbCrLf & _
"            &lt;series&gt; " & vbCrLf & _
"            &lt;ajaxToolkit:BarChartSeries Name=&quot;United States&quot; BarColor=&quot;#6C1E83&quot; Data=&quot;110, 189, 255, 95, 107, 140&quot; /&gt; " & vbCrLf & _
"            &lt;ajaxToolkit:BarChartSeries Name=&quot;Europe&quot;  BarColor=&quot;#D08AD9&quot; Data=&quot;49, 77, 95, 68, 70, 79&quot; /&gt; " & vbCrLf & _
"        &lt;/series&gt; " & vbCrLf & _
"        &lt;/ajaxToolkit:BarChart&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;strong&gt;StackedBar Chart:&lt;/strong&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;ajaxToolkit:BarChart ID=&quot;BarChart4&quot; runat=&quot;server&quot; ChartHeight=&quot;300&quot; ChartWidth=&quot;450&quot; " & vbCrLf & _
"            ChartTitle=&quot;United States versus European Widget Production&quot; CategoriesAxis=&quot;2007,2008,2009,2010,2011,2012&quot; " & vbCrLf & _
"            ChartType=&quot;StackedBar&quot; ChartTitleColor=&quot;#0E426C&quot; CategoryAxisLineColor=&quot;#D08AD9&quot; " & vbCrLf & _
"            ValueAxisLineColor=&quot;#D08AD9&quot; BaseLineColor=&quot;#A156AB&quot;&gt; " & vbCrLf & _
"            &lt;series&gt; " & vbCrLf & _
"            &lt;ajaxToolkit:BarChartSeries Name=&quot;United States&quot; BarColor=&quot;#6C1E83&quot; Data=&quot;110, 189, 255, 95, 107, 140&quot; /&gt; " & vbCrLf & _
"            &lt;ajaxToolkit:BarChartSeries Name=&quot;Europe&quot;  BarColor=&quot;#D08AD9&quot; Data=&quot;49, 77, 95, 68, 70, 79&quot; /&gt; " & vbCrLf & _
"        &lt;/series&gt; " & vbCrLf & _
"        &lt;/ajaxToolkit:BarChart&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"    &lt;/div&gt; " & vbCrLf & _
" "

    End Function


    Public Shared Function GetBubbleChart() As String
        Return "<div class=""demoarea""> " & _
"        <div class=""demoheading""> " & _
"            BubbleChart Demonstration</div> " & _
"        <br /> " & _
"        <ajaxToolkit:BubbleChart ID=""BubbleChart1"" runat=""server"" ChartHeight=""300"" ChartWidth=""450"" " & _
"            ChartTitle=""Industry Share in Market and Growth"" ChartTitleColor=""#0E426C"" XAxisLineColor=""#D08AD9"" " & _
"            YAxisLineColor=""#D08AD9"" BaseLineColor=""#A156AB"" YAxisLines=""6"" XAxisLines=""6"" " & _
"            BubbleSizes=""5"" XAxisLabel=""Market share of Industry"" YAxisLabel=""Revenue of Industry"" BubbleLabel="" (Growth in %)""> " & _
"            <BubbleChartValues> " & _
"                <ajaxToolkit:BubbleChartValue Category=""Software"" X=""0"" Y=""90000"" Data=""7"" BubbleColor=""#6C1E83"" /> " & _
"                <ajaxToolkit:BubbleChartValue Category=""Foods"" X=""35"" Y=""150000"" Data=""5"" BubbleColor=""#D08AD9"" /> " & _
"                <ajaxToolkit:BubbleChartValue Category=""Health"" X=""32"" Y=""140000"" Data=""6"" BubbleColor=""#6586A7"" /> " & _
"                <ajaxToolkit:BubbleChartValue Category=""Manufacturing"" X=""22"" Y=""84000"" Data=""4"" BubbleColor=""#0E426C"" /> " & _
"                <ajaxToolkit:BubbleChartValue Category=""Travel"" X=""8"" Y=""26000"" Data=""7"" BubbleColor=""#A156AB"" /> " & _
"                <ajaxToolkit:BubbleChartValue Category=""Entertainment"" X=""28"" Y=""97000"" Data=""9"" " & _
"                    BubbleColor=""#990033"" /> " & _
"                <ajaxToolkit:BubbleChartValue Category=""Construction"" X=""15"" Y=""58000"" Data=""5"" BubbleColor=""#669900"" /> " & _
"            </BubbleChartValues> " & _
"        </ajaxToolkit:BubbleChart> " & _
"        <br /> " & _
"    </div> " & _
" "
    End Function

    Public Shared Function GetBubbleChartCode() As String
        Return "&lt;div class=&quot;demoarea&quot;&gt; " & vbCrLf & _
"        &lt;div class=&quot;demoheading&quot;&gt; " & vbCrLf & _
"            BubbleChart Demonstration&lt;/div&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;ajaxToolkit:BubbleChart ID=&quot;BubbleChart1&quot; runat=&quot;server&quot; ChartHeight=&quot;300&quot; ChartWidth=&quot;450&quot; " & vbCrLf & _
"            ChartTitle=&quot;Industry Share in Market and Growth&quot; ChartTitleColor=&quot;#0E426C&quot; XAxisLineColor=&quot;#D08AD9&quot; " & vbCrLf & _
"            YAxisLineColor=&quot;#D08AD9&quot; BaseLineColor=&quot;#A156AB&quot; YAxisLines=&quot;6&quot; XAxisLines=&quot;6&quot; " & vbCrLf & _
"            BubbleSizes=&quot;5&quot; XAxisLabel=&quot;Market share of Industry&quot; YAxisLabel=&quot;Revenue of Industry&quot; BubbleLabel=&quot; (Growth in %)&quot;&gt; " & vbCrLf & _
"            &lt;BubbleChartValues&gt; " & vbCrLf & _
"                &lt;ajaxToolkit:BubbleChartValue Category=&quot;Software&quot; X=&quot;0&quot; Y=&quot;90000&quot; Data=&quot;7&quot; BubbleColor=&quot;#6C1E83&quot; /&gt; " & vbCrLf & _
"                &lt;ajaxToolkit:BubbleChartValue Category=&quot;Foods&quot; X=&quot;35&quot; Y=&quot;150000&quot; Data=&quot;5&quot; BubbleColor=&quot;#D08AD9&quot; /&gt; " & vbCrLf & _
"                &lt;ajaxToolkit:BubbleChartValue Category=&quot;Health&quot; X=&quot;32&quot; Y=&quot;140000&quot; Data=&quot;6&quot; BubbleColor=&quot;#6586A7&quot; /&gt; " & vbCrLf & _
"                &lt;ajaxToolkit:BubbleChartValue Category=&quot;Manufacturing&quot; X=&quot;22&quot; Y=&quot;84000&quot; Data=&quot;4&quot; BubbleColor=&quot;#0E426C&quot; /&gt; " & vbCrLf & _
"                &lt;ajaxToolkit:BubbleChartValue Category=&quot;Travel&quot; X=&quot;8&quot; Y=&quot;26000&quot; Data=&quot;7&quot; BubbleColor=&quot;#A156AB&quot; /&gt; " & vbCrLf & _
"                &lt;ajaxToolkit:BubbleChartValue Category=&quot;Entertainment&quot; X=&quot;28&quot; Y=&quot;97000&quot; Data=&quot;9&quot; " & vbCrLf & _
"                    BubbleColor=&quot;#990033&quot; /&gt; " & vbCrLf & _
"                &lt;ajaxToolkit:BubbleChartValue Category=&quot;Construction&quot; X=&quot;15&quot; Y=&quot;58000&quot; Data=&quot;5&quot; BubbleColor=&quot;#669900&quot; /&gt; " & vbCrLf & _
"            &lt;/BubbleChartValues&gt; " & vbCrLf & _
"        &lt;/ajaxToolkit:BubbleChart&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"    &lt;/div&gt; " & vbCrLf & _
" "
    End Function


    Public Shared Function GetCalendar() As String
        Return "<div class=""demoarea""> " & _
" " & _
" " & _
"        <div class=""demoheading""> " & _
"            Calendar Demonstration</div> " & _
"        <br /> " & _
"        <b>Default calendar: </b> " & _
"        <br /> " & _
"        <asp:TextBox runat=""server"" ID=""Date1"" autocomplete=""off"" /><br /> " & _
"        <ajaxToolkit:CalendarExtender ID=""defaultCalendarExtender"" runat=""server""  TargetControlID=""Date1"" /> " & _
" " & _
"        <div style=""font-size: 90%""> " & _
"            <em>(Set the focus to the textbox to show the calendar)</em></div> " & _
"        <br /> " & _
"        <br /> " & _
"        <b>Calendar with a custom style and formatted date (opening on left):</b><br /> " & _
"        <asp:TextBox runat=""server"" ID=""Date2"" autocomplete=""off"" /><br /> " & _
"        <ajaxToolkit:CalendarExtender ID=""customCalendarExtender"" runat=""server"" TargetControlID=""Date2"" " & _
"           CssClass=""MyCalendar"" Format=""MMMM d, yyyy"" SelectedDate=""April 28, 1906"" PopupPosition=""Left""/> " & _
"        <div style=""font-size: 90%""> " & _
"            <em>(Set the focus to the textbox to show the calendar)</em></div> " & _
"        <br /> " & _
"        <br /> " & _
"        <b>Calendar with an associated button:</b><br /> " & _
"        <asp:TextBox runat=""server"" ID=""Date5"" /> " & _
"        <asp:ImageButton runat=""Server"" ID=""Image1"" ImageUrl=""~/images/Calendar_scheduleHS.png"" AlternateText=""Click to show calendar"" /><br /> " & _
"        <ajaxToolkit:CalendarExtender ID=""calendarButtonExtender"" runat=""server"" TargetControlID=""Date5""  " & _
"            PopupButtonID=""Image1"" /> " & _
"        <div style=""font-size: 90%""> " & _
"            <em>(Click the image button to show the calendar; this calendar dismisses automatically " & _
"                when you choose a date)</em></div> " & _
"        <br /> " & _
"        <br /> " & _
" " & _
"        <b>Calendar with date range:</b><br /> " & _
"        <asp:TextBox runat=""server"" ID=""Date6"" /> " & _
"        <ajaxToolkit:CalendarExtender ID=""CalendarExtender1"" runat=""server"" Format=""MM/dd/yyyy"" TargetControlID=""Date6"" StartDate=""8/3/2010"" EndDate=""10/7/2010"" SelectedDate=""8/3/2010"" /> " & _
"        <div style=""font-size: 90%""> " & _
"            <em>(Set the focus to the textbox to show the calendar. This calendar's StartDate property is '8/3/2010' and EndDate is '10/7/2010')</em></div> " & _
"  " & _
"     </div> " & _
" "
    End Function

    Public Shared Function GetCalendarCode() As String
        Return "&lt;div class=&quot;demoarea&quot;&gt; " & vbCrLf & _
" " & vbCrLf & _
" " & vbCrLf & _
"        &lt;div class=&quot;demoheading&quot;&gt; " & vbCrLf & _
"            Calendar Demonstration&lt;/div&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;b&gt;Default calendar: &lt;/b&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;asp:TextBox runat=&quot;server&quot; ID=&quot;Date1&quot; autocomplete=&quot;off&quot; /&gt;&lt;br /&gt; " & vbCrLf & _
"        &lt;ajaxToolkit:CalendarExtender ID=&quot;defaultCalendarExtender&quot; runat=&quot;server&quot;  TargetControlID=&quot;Date1&quot; /&gt; " & vbCrLf & _
" " & vbCrLf & _
"        &lt;div style=&quot;font-size: 90%&quot;&gt; " & vbCrLf & _
"            &lt;em&gt;(Set the focus to the textbox to show the calendar)&lt;/em&gt;&lt;/div&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;b&gt;Calendar with a custom style and formatted date (opening on left):&lt;/b&gt;&lt;br /&gt; " & vbCrLf & _
"        &lt;asp:TextBox runat=&quot;server&quot; ID=&quot;Date2&quot; autocomplete=&quot;off&quot; /&gt;&lt;br /&gt; " & vbCrLf & _
"        &lt;ajaxToolkit:CalendarExtender ID=&quot;customCalendarExtender&quot; runat=&quot;server&quot; TargetControlID=&quot;Date2&quot; " & vbCrLf & _
"           CssClass=&quot;MyCalendar&quot; Format=&quot;MMMM d, yyyy&quot; SelectedDate=&quot;April 28, 1906&quot; PopupPosition=&quot;Left&quot;/&gt; " & vbCrLf & _
"        &lt;div style=&quot;font-size: 90%&quot;&gt; " & vbCrLf & _
"            &lt;em&gt;(Set the focus to the textbox to show the calendar)&lt;/em&gt;&lt;/div&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;b&gt;Calendar with an associated button:&lt;/b&gt;&lt;br /&gt; " & vbCrLf & _
"        &lt;asp:TextBox runat=&quot;server&quot; ID=&quot;Date5&quot; /&gt; " & vbCrLf & _
"        &lt;asp:ImageButton runat=&quot;Server&quot; ID=&quot;Image1&quot; ImageUrl=&quot;~/images/Calendar_scheduleHS.png&quot; AlternateText=&quot;Click to show calendar&quot; /&gt;&lt;br /&gt; " & vbCrLf & _
"        &lt;ajaxToolkit:CalendarExtender ID=&quot;calendarButtonExtender&quot; runat=&quot;server&quot; TargetControlID=&quot;Date5&quot;  " & vbCrLf & _
"            PopupButtonID=&quot;Image1&quot; /&gt; " & vbCrLf & _
"        &lt;div style=&quot;font-size: 90%&quot;&gt; " & vbCrLf & _
"            &lt;em&gt;(Click the image button to show the calendar; this calendar dismisses automatically " & vbCrLf & _
"                when you choose a date)&lt;/em&gt;&lt;/div&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
" " & vbCrLf & _
"        &lt;b&gt;Calendar with date range:&lt;/b&gt;&lt;br /&gt; " & vbCrLf & _
"        &lt;asp:TextBox runat=&quot;server&quot; ID=&quot;Date6&quot; /&gt; " & vbCrLf & _
"        &lt;ajaxToolkit:CalendarExtender ID=&quot;CalendarExtender1&quot; runat=&quot;server&quot; Format=&quot;MM/dd/yyyy&quot; TargetControlID=&quot;Date6&quot; StartDate=&quot;8/3/2010&quot; EndDate=&quot;10/7/2010&quot; SelectedDate=&quot;8/3/2010&quot; /&gt; " & vbCrLf & _
"        &lt;div style=&quot;font-size: 90%&quot;&gt; " & vbCrLf & _
"            &lt;em&gt;(Set the focus to the textbox to show the calendar. This calendar's StartDate property is '8/3/2010' and EndDate is '10/7/2010')&lt;/em&gt;&lt;/div&gt; " & vbCrLf & _
"  " & vbCrLf & _
"     &lt;/div&gt; " & vbCrLf & _
" "
    End Function


    Public Shared Function GetCascadingDropDown() As String
        Return "<div class=""demoarea""> " & _
"        <div class=""demoheading"">CascadingDropDown Demonstration</div> " & _
"        <table> " & _
"            <tr> " & _
"                <td>Make</td> " & _
"                <td><asp:DropDownList ID=""DropDownList1"" runat=""server"" Width=""170"" /></td> " & _
"            </tr> " & _
"            <tr> " & _
"                <td>Model</td> " & _
"                <td><asp:DropDownList ID=""DropDownList2"" runat=""server"" Width=""170"" /></td> " & _
"            </tr> " & _
"            <tr> " & _
"                <td>Color</td> " & _
"                <td><asp:DropDownList ID=""DropDownList3"" runat=""server"" Width=""170"" AutoPostBack=""true"" " & _
"                    OnSelectedIndexChanged=""DropDownList3_SelectedIndexChanged"" /></td> " & _
"            </tr> " & _
"        </table> " & _
"        <br /> " & _
"         " & _
"        <ajaxToolkit:CascadingDropDown ID=""CascadingDropDown1"" runat=""server"" TargetControlID=""DropDownList1"" " & _
"            Category=""Make""  PromptText=""Please select a make""  LoadingText=""[Loading makes...]"" " & _
"            ServicePath=""CarsService.asmx"" ServiceMethod=""GetDropDownContents"" /> " & _
"        <ajaxToolkit:CascadingDropDown ID=""CascadingDropDown2"" runat=""server"" TargetControlID=""DropDownList2"" " & _
"            Category=""Model"" PromptText=""Please select a model"" LoadingText=""[Loading models...]"" " & _
"            ServiceMethod=""GetDropDownContentsPageMethod"" ParentControlID=""DropDownList1"" /> " & _
"        <ajaxToolkit:CascadingDropDown ID=""CascadingDropDown3"" runat=""server"" TargetControlID=""DropDownList3"" " & _
"            Category=""Color"" PromptText=""Please select a color"" LoadingText=""[Loading colors...]"" " & _
"            ServicePath=""~/CascadingDropDown/CarsService.asmx"" ServiceMethod=""GetDropDownContents"" " & _
"            ParentControlID=""DropDownList2"" /> " & _
"       " & _
"        <asp:UpdatePanel ID=""UpdatePanel1"" runat=""server"" UpdateMode=""Conditional"" RenderMode=""inline""> " & _
"            <ContentTemplate> " & _
"                <asp:Label ID=""Label1"" runat=""server"" Text=""[No response provided yet]"" /> " & _
"            </ContentTemplate> " & _
"            <Triggers> " & _
"                <asp:AsyncPostBackTrigger ControlID=""DropDownList3"" EventName=""SelectedIndexChanged"" /> " & _
"            </Triggers> " & _
"        </asp:UpdatePanel> " & _
"    </div> " & _
" "
    End Function

    Public Shared Function GetCascadingDropDownCode() As String
        Return "&lt;div class=&quot;demoarea&quot;&gt; " & vbCrLf & _
"        &lt;div class=&quot;demoheading&quot;&gt;CascadingDropDown Demonstration&lt;/div&gt; " & vbCrLf & _
"        &lt;table&gt; " & vbCrLf & _
"            &lt;tr&gt; " & vbCrLf & _
"                &lt;td&gt;Make&lt;/td&gt; " & vbCrLf & _
"                &lt;td&gt;&lt;asp:DropDownList ID=&quot;DropDownList1&quot; runat=&quot;server&quot; Width=&quot;170&quot; /&gt;&lt;/td&gt; " & vbCrLf & _
"            &lt;/tr&gt; " & vbCrLf & _
"            &lt;tr&gt; " & vbCrLf & _
"                &lt;td&gt;Model&lt;/td&gt; " & vbCrLf & _
"                &lt;td&gt;&lt;asp:DropDownList ID=&quot;DropDownList2&quot; runat=&quot;server&quot; Width=&quot;170&quot; /&gt;&lt;/td&gt; " & vbCrLf & _
"            &lt;/tr&gt; " & vbCrLf & _
"            &lt;tr&gt; " & vbCrLf & _
"                &lt;td&gt;Color&lt;/td&gt; " & vbCrLf & _
"                &lt;td&gt;&lt;asp:DropDownList ID=&quot;DropDownList3&quot; runat=&quot;server&quot; Width=&quot;170&quot; AutoPostBack=&quot;true&quot; " & vbCrLf & _
"                    OnSelectedIndexChanged=&quot;DropDownList3_SelectedIndexChanged&quot; /&gt;&lt;/td&gt; " & vbCrLf & _
"            &lt;/tr&gt; " & vbCrLf & _
"        &lt;/table&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"         " & vbCrLf & _
"        &lt;ajaxToolkit:CascadingDropDown ID=&quot;CascadingDropDown1&quot; runat=&quot;server&quot; TargetControlID=&quot;DropDownList1&quot; " & vbCrLf & _
"            Category=&quot;Make&quot;  PromptText=&quot;Please select a make&quot;  LoadingText=&quot;[Loading makes...]&quot; " & vbCrLf & _
"            ServicePath=&quot;CarsService.asmx&quot; ServiceMethod=&quot;GetDropDownContents&quot; /&gt; " & vbCrLf & _
"        &lt;ajaxToolkit:CascadingDropDown ID=&quot;CascadingDropDown2&quot; runat=&quot;server&quot; TargetControlID=&quot;DropDownList2&quot; " & vbCrLf & _
"            Category=&quot;Model&quot; PromptText=&quot;Please select a model&quot; LoadingText=&quot;[Loading models...]&quot; " & vbCrLf & _
"            ServiceMethod=&quot;GetDropDownContentsPageMethod&quot; ParentControlID=&quot;DropDownList1&quot; /&gt; " & vbCrLf & _
"        &lt;ajaxToolkit:CascadingDropDown ID=&quot;CascadingDropDown3&quot; runat=&quot;server&quot; TargetControlID=&quot;DropDownList3&quot; " & vbCrLf & _
"            Category=&quot;Color&quot; PromptText=&quot;Please select a color&quot; LoadingText=&quot;[Loading colors...]&quot; " & vbCrLf & _
"            ServicePath=&quot;~/CascadingDropDown/CarsService.asmx&quot; ServiceMethod=&quot;GetDropDownContents&quot; " & vbCrLf & _
"            ParentControlID=&quot;DropDownList2&quot; /&gt; " & vbCrLf & _
"       " & vbCrLf & _
"        &lt;asp:UpdatePanel ID=&quot;UpdatePanel1&quot; runat=&quot;server&quot; UpdateMode=&quot;Conditional&quot; RenderMode=&quot;inline&quot;&gt; " & vbCrLf & _
"            &lt;ContentTemplate&gt; " & vbCrLf & _
"                &lt;asp:Label ID=&quot;Label1&quot; runat=&quot;server&quot; Text=&quot;[No response provided yet]&quot; /&gt; " & vbCrLf & _
"            &lt;/ContentTemplate&gt; " & vbCrLf & _
"            &lt;Triggers&gt; " & vbCrLf & _
"                &lt;asp:AsyncPostBackTrigger ControlID=&quot;DropDownList3&quot; EventName=&quot;SelectedIndexChanged&quot; /&gt; " & vbCrLf & _
"            &lt;/Triggers&gt; " & vbCrLf & _
"        &lt;/asp:UpdatePanel&gt; " & vbCrLf & _
"    &lt;/div&gt; " & vbCrLf & _
" "
    End Function


    Public Shared Function GetCollapsiblePanel() As String
        Return "<div class=""demoarea""> " & _
"        <div class=""demoheading"">CollapsiblePanel Demonstration</div> " & _
" " & _
"        <asp:Panel ID=""Panel2"" runat=""server"" CssClass=""collapsePanelHeader"" Height=""30px"">  " & _
"            <div style=""padding:5px; cursor: pointer; vertical-align: middle;""> " & _
"                <div style=""float: left;"">What is ASP.NET AJAX?</div> " & _
"                <div style=""float: left; margin-left: 20px;""> " & _
"                    <asp:Label ID=""Label1"" runat=""server"">(Show Details...)</asp:Label> " & _
"                </div> " & _
"                <div style=""float: right; vertical-align: middle;""> " & _
"                    <asp:ImageButton ID=""Image1"" runat=""server"" ImageUrl=""~/images/expand_blue.jpg"" AlternateText=""(Show Details...)""/> " & _
"                </div> " & _
"            </div> " & _
"        </asp:Panel> " & _
"        <asp:Panel ID=""Panel1"" runat=""server"" CssClass=""collapsePanel"" Height=""0""> " & _
"            <br /> " & _
"            <p> " & _
"                <asp:ImageButton ID=""Image2"" runat=""server"" ImageUrl=""~/images/AJAX.gif"" " & _
"                    AlternateText=""ASP.NET AJAX"" ImageAlign=""right"" /> " & _
"                <%= GetContentFillerText() %> " & _
"            </p> " & _
"        </asp:Panel> " & _
"    </div> " & _
"	<ajaxToolkit:CollapsiblePanelExtender ID=""cpeDemo"" runat=""Server"" " & _
"        TargetControlID=""Panel1"" " & _
"        ExpandControlID=""Panel2"" " & _
"        CollapseControlID=""Panel2""  " & _
"        Collapsed=""True"" " & _
"        TextLabelID=""Label1"" " & _
"        ImageControlID=""Image1""     " & _
"        ExpandedText=""(Hide Details...)"" " & _
"        CollapsedText=""(Show Details...)"" " & _
"        ExpandedImage=""~/images/collapse_blue.jpg"" " & _
"        CollapsedImage=""~/images/expand_blue.jpg"" " & _
"        SuppressPostBack=""true"" " & _
"        SkinID=""CollapsiblePanelDemo"" /> " & _
" "
    End Function

    Public Shared Function GetCollapsiblePanelCode() As String
        Return "&lt;div class=&quot;demoarea&quot;&gt; " & vbCrLf & _
"        &lt;div class=&quot;demoheading&quot;&gt;CollapsiblePanel Demonstration&lt;/div&gt; " & vbCrLf & _
" " & vbCrLf & _
"        &lt;asp:Panel ID=&quot;Panel2&quot; runat=&quot;server&quot; CssClass=&quot;collapsePanelHeader&quot; Height=&quot;30px&quot;&gt;  " & vbCrLf & _
"            &lt;div style=&quot;padding:5px; cursor: pointer; vertical-align: middle;&quot;&gt; " & vbCrLf & _
"                &lt;div style=&quot;float: left;&quot;&gt;What is ASP.NET AJAX?&lt;/div&gt; " & vbCrLf & _
"                &lt;div style=&quot;float: left; margin-left: 20px;&quot;&gt; " & vbCrLf & _
"                    &lt;asp:Label ID=&quot;Label1&quot; runat=&quot;server&quot;&gt;(Show Details...)&lt;/asp:Label&gt; " & vbCrLf & _
"                &lt;/div&gt; " & vbCrLf & _
"                &lt;div style=&quot;float: right; vertical-align: middle;&quot;&gt; " & vbCrLf & _
"                    &lt;asp:ImageButton ID=&quot;Image1&quot; runat=&quot;server&quot; ImageUrl=&quot;~/images/expand_blue.jpg&quot; AlternateText=&quot;(Show Details...)&quot;/&gt; " & vbCrLf & _
"                &lt;/div&gt; " & vbCrLf & _
"            &lt;/div&gt; " & vbCrLf & _
"        &lt;/asp:Panel&gt; " & vbCrLf & _
"        &lt;asp:Panel ID=&quot;Panel1&quot; runat=&quot;server&quot; CssClass=&quot;collapsePanel&quot; Height=&quot;0&quot;&gt; " & vbCrLf & _
"            &lt;br /&gt; " & vbCrLf & _
"            &lt;p&gt; " & vbCrLf & _
"                &lt;asp:ImageButton ID=&quot;Image2&quot; runat=&quot;server&quot; ImageUrl=&quot;~/images/AJAX.gif&quot; " & vbCrLf & _
"                    AlternateText=&quot;ASP.NET AJAX&quot; ImageAlign=&quot;right&quot; /&gt; " & vbCrLf & _
"                &lt;%= GetContentFillerText() %&gt; " & vbCrLf & _
"            &lt;/p&gt; " & vbCrLf & _
"        &lt;/asp:Panel&gt; " & vbCrLf & _
"    &lt;/div&gt; " & vbCrLf & _
"	&lt;ajaxToolkit:CollapsiblePanelExtender ID=&quot;cpeDemo&quot; runat=&quot;Server&quot; " & vbCrLf & _
"        TargetControlID=&quot;Panel1&quot; " & vbCrLf & _
"        ExpandControlID=&quot;Panel2&quot; " & vbCrLf & _
"        CollapseControlID=&quot;Panel2&quot;  " & vbCrLf & _
"        Collapsed=&quot;True&quot; " & vbCrLf & _
"        TextLabelID=&quot;Label1&quot; " & vbCrLf & _
"        ImageControlID=&quot;Image1&quot;     " & vbCrLf & _
"        ExpandedText=&quot;(Hide Details...)&quot; " & vbCrLf & _
"        CollapsedText=&quot;(Show Details...)&quot; " & vbCrLf & _
"        ExpandedImage=&quot;~/images/collapse_blue.jpg&quot; " & vbCrLf & _
"        CollapsedImage=&quot;~/images/expand_blue.jpg&quot; " & vbCrLf & _
"        SuppressPostBack=&quot;true&quot; " & vbCrLf & _
"        SkinID=&quot;CollapsiblePanelDemo&quot; /&gt; " & vbCrLf & _
" "
    End Function


    Public Shared Function GetColorPicker() As String
        Return "<div class=""demoarea""> " & _
"        <div class=""demoheading""> " & _
"            ColorPicker Demonstration</div> " & _
"        <div> " & _
"        <b>Default color picker: </b> " & _
"        <br /> " & _
"        <asp:TextBox runat=""server"" ID=""Color1"" MaxLength=""6"" AutoCompleteType=""None"" /><br /> " & _
"        <ajaxToolkit:ColorPickerExtender ID=""defaultCPE"" runat=""server"" OnClientColorSelectionChanged=""colorChanged"" TargetControlID=""Color1"" /> " & _
"        <div style=""font-size: 90%""> " & _
"            <em>(Set the focus to the textbox to show the color picker popup; the popup dismisses automatically " & _
"                when you choose a color)</em></div> " & _
"        </div> " & _
"        <script type=""text/javascript""> " & _
"            function colorChanged(sender) { " & _
"                sender.get_element().style.color = ""#"" + sender.get_selectedColor(); " & _
"            } " & _
"        </script> " & _
"        <br /> " & _
"        <div> " & _
"        <b>ColorPicker with an associated button and a sample control:</b><br /> " & _
"        <asp:TextBox runat=""server"" ID=""Color2"" AutoCompleteType=""None"" MaxLength=""6"" style=""float:left"" /> " & _
"        <asp:ImageButton runat=""Server"" ID=""Image1"" style=""float:left;margin:0 3px"" ImageUrl=""~/images/cp_button.png"" AlternateText=""Click to show color picker"" /> " & _
"        <asp:Panel ID=""Sample1"" style=""width:18px;height:18px;border:1px solid #000;margin:0 3px;float:left"" runat=""server"" /> " & _
"        <ajaxToolkit:ColorPickerExtender ID=""buttonCPE"" runat=""server"" " & _
"            TargetControlID=""Color2"" PopupButtonID=""Image1"" SampleControlID=""Sample1"" SelectedColor=""33ffcc"" /> " & _
"        <br style=""clear:both"" /> " & _
"        <div style=""font-size: 90%""> " & _
"            <em>(Click the image button to show the color picker; enter a valid color value in to the TextBox to  " & _
"            have a sample control show the color)</em></div> " & _
"        </div> " & _
"    </div> " & _
" "
    End Function

    Public Shared Function GetColorPickerCode() As String
        Return "&lt;div class=&quot;demoarea&quot;&gt; " & vbCrLf & _
"        &lt;div class=&quot;demoheading&quot;&gt; " & vbCrLf & _
"            ColorPicker Demonstration&lt;/div&gt; " & vbCrLf & _
"        &lt;div&gt; " & vbCrLf & _
"        &lt;b&gt;Default color picker: &lt;/b&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;asp:TextBox runat=&quot;server&quot; ID=&quot;Color1&quot; MaxLength=&quot;6&quot; AutoCompleteType=&quot;None&quot; /&gt;&lt;br /&gt; " & vbCrLf & _
"        &lt;ajaxToolkit:ColorPickerExtender ID=&quot;defaultCPE&quot; runat=&quot;server&quot; OnClientColorSelectionChanged=&quot;colorChanged&quot; TargetControlID=&quot;Color1&quot; /&gt; " & vbCrLf & _
"        &lt;div style=&quot;font-size: 90%&quot;&gt; " & vbCrLf & _
"            &lt;em&gt;(Set the focus to the textbox to show the color picker popup; the popup dismisses automatically " & vbCrLf & _
"                when you choose a color)&lt;/em&gt;&lt;/div&gt; " & vbCrLf & _
"        &lt;/div&gt; " & vbCrLf & _
"        &lt;script type=&quot;text/javascript&quot;&gt; " & vbCrLf & _
"            function colorChanged(sender) { " & vbCrLf & _
"                sender.get_element().style.color = &quot;#&quot; + sender.get_selectedColor(); " & vbCrLf & _
"            } " & vbCrLf & _
"        &lt;/script&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;div&gt; " & vbCrLf & _
"        &lt;b&gt;ColorPicker with an associated button and a sample control:&lt;/b&gt;&lt;br /&gt; " & vbCrLf & _
"        &lt;asp:TextBox runat=&quot;server&quot; ID=&quot;Color2&quot; AutoCompleteType=&quot;None&quot; MaxLength=&quot;6&quot; style=&quot;float:left&quot; /&gt; " & vbCrLf & _
"        &lt;asp:ImageButton runat=&quot;Server&quot; ID=&quot;Image1&quot; style=&quot;float:left;margin:0 3px&quot; ImageUrl=&quot;~/images/cp_button.png&quot; AlternateText=&quot;Click to show color picker&quot; /&gt; " & vbCrLf & _
"        &lt;asp:Panel ID=&quot;Sample1&quot; style=&quot;width:18px;height:18px;border:1px solid #000;margin:0 3px;float:left&quot; runat=&quot;server&quot; /&gt; " & vbCrLf & _
"        &lt;ajaxToolkit:ColorPickerExtender ID=&quot;buttonCPE&quot; runat=&quot;server&quot; " & vbCrLf & _
"            TargetControlID=&quot;Color2&quot; PopupButtonID=&quot;Image1&quot; SampleControlID=&quot;Sample1&quot; SelectedColor=&quot;33ffcc&quot; /&gt; " & vbCrLf & _
"        &lt;br style=&quot;clear:both&quot; /&gt; " & vbCrLf & _
"        &lt;div style=&quot;font-size: 90%&quot;&gt; " & vbCrLf & _
"            &lt;em&gt;(Click the image button to show the color picker; enter a valid color value in to the TextBox to  " & vbCrLf & _
"            have a sample control show the color)&lt;/em&gt;&lt;/div&gt; " & vbCrLf & _
"        &lt;/div&gt; " & vbCrLf & _
"    &lt;/div&gt; " & vbCrLf & _
" "
    End Function


    Public Shared Function GetComboBox() As String
        Throw New NotImplementedException
    End Function

    Public Shared Function GetComboBoxCode() As String
        Throw New NotImplementedException
    End Function


    Public Shared Function GetConfirmButton() As String
        Return "<div class=""demoarea""> " & _
"        <div class=""demoheading"">ConfirmButton Demonstration</div> " & _
"        <asp:UpdatePanel ID=""UpdatePanel1"" runat=""server""> " & _
"            <ContentTemplate> " & _
"                 " & _
"                    <asp:LinkButton ID=""LinkButton"" runat=""server"" OnClick=""Button_Click"">Click Me</asp:LinkButton> " & _
"                    <ajaxToolkit:ConfirmButtonExtender ID=""ConfirmButtonExtender1"" runat=""server""  " & _
"                        TargetControlID=""LinkButton"" " & _
"                        ConfirmText=""Are you sure you want to click the LinkButton?""  " & _
"                        OnClientCancel=""cancelClick"" /> " & _
"                    <br /> " & _
"                    <br /> " & _
"                    <asp:Button ID=""Button"" runat=""server"" Text=""Click Me"" OnClick=""Button_Click"" /><br /> " & _
"                    <ajaxToolkit:ConfirmButtonExtender ID=""ConfirmButtonExtender2"" runat=""server""  " & _
"                        TargetControlID=""Button"" " & _
"                        OnClientCancel=""cancelClick"" " & _
"                        DisplayModalPopupID=""ModalPopupExtender1"" /> " & _
"                    <br /> " & _
"                    <ajaxToolkit:ModalPopupExtender ID=""ModalPopupExtender1"" runat=""server"" TargetControlID=""Button"" PopupControlID=""PNL"" OkControlID=""ButtonOk"" CancelControlID=""ButtonCancel"" BackgroundCssClass=""modalBackground"" /> " & _
"                    <asp:Panel ID=""PNL"" runat=""server"" style=""display:none; width:200px; background-color:White; border-width:2px; border-color:Black; border-style:solid; padding:20px;""> " & _
"                        Are you sure you want to click the Button? " & _
"                        <br /><br /> " & _
"                        <div style=""text-align:right;""> " & _
"                            <asp:Button ID=""ButtonOk"" runat=""server"" Text=""OK"" /> " & _
"                            <asp:Button ID=""ButtonCancel"" runat=""server"" Text=""Cancel"" /> " & _
"                        </div> " & _
"                    </asp:Panel> " & _
"                " & _
"                <asp:Label ID=""Label1"" runat=""server"" /> " & _
"            </ContentTemplate> " & _
"        </asp:UpdatePanel> " & _
"    </div> " & _
" "
    End Function

    Public Shared Function GetConfirmButtonCode() As String
        Return "&lt;div class=&quot;demoarea&quot;&gt; " & vbCrLf & _
"        &lt;div class=&quot;demoheading&quot;&gt;ConfirmButton Demonstration&lt;/div&gt; " & vbCrLf & _
"        &lt;asp:UpdatePanel ID=&quot;UpdatePanel1&quot; runat=&quot;server&quot;&gt; " & vbCrLf & _
"            &lt;ContentTemplate&gt; " & vbCrLf & _
"                 " & vbCrLf & _
"                    &lt;asp:LinkButton ID=&quot;LinkButton&quot; runat=&quot;server&quot; OnClick=&quot;Button_Click&quot;&gt;Click Me&lt;/asp:LinkButton&gt; " & vbCrLf & _
"                    &lt;ajaxToolkit:ConfirmButtonExtender ID=&quot;ConfirmButtonExtender1&quot; runat=&quot;server&quot;  " & vbCrLf & _
"                        TargetControlID=&quot;LinkButton&quot; " & vbCrLf & _
"                        ConfirmText=&quot;Are you sure you want to click the LinkButton?&quot;  " & vbCrLf & _
"                        OnClientCancel=&quot;cancelClick&quot; /&gt; " & vbCrLf & _
"                    &lt;br /&gt; " & vbCrLf & _
"                    &lt;br /&gt; " & vbCrLf & _
"                    &lt;asp:Button ID=&quot;Button&quot; runat=&quot;server&quot; Text=&quot;Click Me&quot; OnClick=&quot;Button_Click&quot; /&gt;&lt;br /&gt; " & vbCrLf & _
"                    &lt;ajaxToolkit:ConfirmButtonExtender ID=&quot;ConfirmButtonExtender2&quot; runat=&quot;server&quot;  " & vbCrLf & _
"                        TargetControlID=&quot;Button&quot; " & vbCrLf & _
"                        OnClientCancel=&quot;cancelClick&quot; " & vbCrLf & _
"                        DisplayModalPopupID=&quot;ModalPopupExtender1&quot; /&gt; " & vbCrLf & _
"                    &lt;br /&gt; " & vbCrLf & _
"                    &lt;ajaxToolkit:ModalPopupExtender ID=&quot;ModalPopupExtender1&quot; runat=&quot;server&quot; TargetControlID=&quot;Button&quot; PopupControlID=&quot;PNL&quot; OkControlID=&quot;ButtonOk&quot; CancelControlID=&quot;ButtonCancel&quot; BackgroundCssClass=&quot;modalBackground&quot; /&gt; " & vbCrLf & _
"                    &lt;asp:Panel ID=&quot;PNL&quot; runat=&quot;server&quot; style=&quot;display:none; width:200px; background-color:White; border-width:2px; border-color:Black; border-style:solid; padding:20px;&quot;&gt; " & vbCrLf & _
"                        Are you sure you want to click the Button? " & vbCrLf & _
"                        &lt;br /&gt;&lt;br /&gt; " & vbCrLf & _
"                        &lt;div style=&quot;text-align:right;&quot;&gt; " & vbCrLf & _
"                            &lt;asp:Button ID=&quot;ButtonOk&quot; runat=&quot;server&quot; Text=&quot;OK&quot; /&gt; " & vbCrLf & _
"                            &lt;asp:Button ID=&quot;ButtonCancel&quot; runat=&quot;server&quot; Text=&quot;Cancel&quot; /&gt; " & vbCrLf & _
"                        &lt;/div&gt; " & vbCrLf & _
"                    &lt;/asp:Panel&gt; " & vbCrLf & _
"                " & vbCrLf & _
"                &lt;asp:Label ID=&quot;Label1&quot; runat=&quot;server&quot; /&gt; " & vbCrLf & _
"            &lt;/ContentTemplate&gt; " & vbCrLf & _
"        &lt;/asp:UpdatePanel&gt; " & vbCrLf & _
"    &lt;/div&gt; " & vbCrLf & _
" "
    End Function


    Public Shared Function GetDragPanel() As String
        Return "<div class=""demoarea""> " & _
"        <div class=""demoheading"">DragPanel Demonstration</div> " & _
"        <div style=""height: 300px; width: 250px; float: left; padding: 5px;"" > " & _
"            <asp:Panel ID=""Panel6"" runat=""server"" Width=""250px"" style=""z-index: 20;""> " & _
"                <asp:Panel ID=""Panel7"" runat=""server"" Width=""100%"" Height=""20px"" " & _
"                    BorderStyle=""Solid"" BorderWidth=""2px"" BorderColor=""black""> " & _
"                        <div class=""dragMe"">Drag Me</div> " & _
"                </asp:Panel> " & _
"                <asp:Panel  ID=""Panel8"" runat=""server"" Width=""100%"" Height=""250px"" " & _
"                    Style=""overflow: scroll;"" BackColor=""#0B3D73"" ForeColor=""whitesmoke"" " & _
"                    BorderWidth=""2px"" BorderColor=""black"" BorderStyle=""Solid"" > " & _
"                        <div> " & _
"                            <p>This panel will reset its position on a postback or page refresh.</p> " & _
"                            <hr /> " & _
"                            <p><%= GetContentFillerText() %></p> " & _
"                        </div> " & _
"                </asp:Panel> " & _
"            </asp:Panel> " & _
"        </div>        " & _
"        <div style=""clear: both;""></div> " & _
"         " & _
"        <ajaxToolkit:DragPanelExtender ID=""DragPanelExtender1"" runat=""server"" " & _
"            TargetControlID=""Panel6"" " & _
"            DragHandleID=""Panel7"" /> " & _
"    </div> " & _
" "
    End Function

    Public Shared Function GetDragPanelCode() As String
        Return "&lt;div class=&quot;demoarea&quot;&gt; " & vbCrLf & _
"        &lt;div class=&quot;demoheading&quot;&gt;DragPanel Demonstration&lt;/div&gt; " & vbCrLf & _
"        &lt;div style=&quot;height: 300px; width: 250px; float: left; padding: 5px;&quot; &gt; " & vbCrLf & _
"            &lt;asp:Panel ID=&quot;Panel6&quot; runat=&quot;server&quot; Width=&quot;250px&quot; style=&quot;z-index: 20;&quot;&gt; " & vbCrLf & _
"                &lt;asp:Panel ID=&quot;Panel7&quot; runat=&quot;server&quot; Width=&quot;100%&quot; Height=&quot;20px&quot; " & vbCrLf & _
"                    BorderStyle=&quot;Solid&quot; BorderWidth=&quot;2px&quot; BorderColor=&quot;black&quot;&gt; " & vbCrLf & _
"                        &lt;div class=&quot;dragMe&quot;&gt;Drag Me&lt;/div&gt; " & vbCrLf & _
"                &lt;/asp:Panel&gt; " & vbCrLf & _
"                &lt;asp:Panel  ID=&quot;Panel8&quot; runat=&quot;server&quot; Width=&quot;100%&quot; Height=&quot;250px&quot; " & vbCrLf & _
"                    Style=&quot;overflow: scroll;&quot; BackColor=&quot;#0B3D73&quot; ForeColor=&quot;whitesmoke&quot; " & vbCrLf & _
"                    BorderWidth=&quot;2px&quot; BorderColor=&quot;black&quot; BorderStyle=&quot;Solid&quot; &gt; " & vbCrLf & _
"                        &lt;div&gt; " & vbCrLf & _
"                            &lt;p&gt;This panel will reset its position on a postback or page refresh.&lt;/p&gt; " & vbCrLf & _
"                            &lt;hr /&gt; " & vbCrLf & _
"                            &lt;p&gt;&lt;%= GetContentFillerText() %&gt;&lt;/p&gt; " & vbCrLf & _
"                        &lt;/div&gt; " & vbCrLf & _
"                &lt;/asp:Panel&gt; " & vbCrLf & _
"            &lt;/asp:Panel&gt; " & vbCrLf & _
"        &lt;/div&gt;        " & vbCrLf & _
"        &lt;div style=&quot;clear: both;&quot;&gt;&lt;/div&gt; " & vbCrLf & _
"         " & vbCrLf & _
"        &lt;ajaxToolkit:DragPanelExtender ID=&quot;DragPanelExtender1&quot; runat=&quot;server&quot; " & vbCrLf & _
"            TargetControlID=&quot;Panel6&quot; " & vbCrLf & _
"            DragHandleID=&quot;Panel7&quot; /&gt; " & vbCrLf & _
"    &lt;/div&gt; " & vbCrLf & _
" "
    End Function


    Public Shared Function GetDropDown() As String
        Return "<div class=""demoarea""> " & _
"        <div class=""demoheading"">DropDown Demonstration</div> " & _
"         " & _
"        <div>Hover over the text below and click to select an option:</div> " & _
"        <br /> " & _
"        <asp:Label ID=""TextLabel"" runat=""server"" Text=""Select your favorite exotic ice-cream flavor"" " & _
"            Style=""display: block; width: 300px; padding:2px; padding-right: 50px; font-family: Tahoma; font-size: 11px;"" /> " & _
"        <asp:Panel ID=""DropPanel"" runat=""server"" CssClass=""ContextMenuPanel"" Style=""display :none; visibility: hidden;""> " & _
"            <asp:LinkButton runat=""server"" ID=""Option1"" Text=""Mocha Blast"" CssClass=""ContextMenuItem"" OnClick=""OnSelect"" /> " & _
"            <asp:LinkButton runat=""server"" ID=""Option2"" Text=""Java Cyclone"" CssClass=""ContextMenuItem"" OnClick=""OnSelect"" /> " & _
"            <asp:LinkButton runat=""server"" ID=""Option3"" Text=""Dry Fruit"" CssClass=""ContextMenuItem"" OnClick=""OnSelect"" />         " & _
"        </asp:Panel> " & _
"        <ajaxToolkit:DropDownExtender runat=""server"" ID=""DDE"" " & _
"            TargetControlID=""TextLabel"" " & _
"            DropDownControlID=""DropPanel"" /> " & _
"        <br /> " & _
"        <asp:UpdatePanel id=""Update"" runat=""server""> " & _
"            <ContentTemplate> " & _
"                <asp:Label id=""lblSelection"" runat=""server"" Style=""padding: 5px;"" /> " & _
"            </ContentTemplate> " & _
"            <Triggers> " & _
"                <asp:AsyncPostBackTrigger ControlID=""Option1"" EventName=""Click"" /> " & _
"                <asp:AsyncPostBackTrigger ControlID=""Option2"" EventName=""Click"" /> " & _
"                <asp:AsyncPostBackTrigger ControlID=""Option3"" EventName=""Click"" /> " & _
"            </Triggers> " & _
"        </asp:UpdatePanel> " & _
"         " & _
"        <ajaxToolkit:UpdatePanelAnimationExtender ID=""UpdateAnimation"" runat=""server"" TargetControlID=""Update"" BehaviorID=""Highlight""> " & _
"            <Animations> " & _
"                <OnUpdated> " & _
"                    <Sequence> " & _
"                        <Color AnimationTarget=""lblSelection"" " & _
"                            Duration="".5"" PropertyKey=""backgroundColor"" " & _
"                            StartValue=""#FFFF90"" EndValue=""#FFFFFF""  /> " & _
"                    </Sequence> " & _
"                </OnUpdated> " & _
"            </Animations> " & _
"        </ajaxToolkit:UpdatePanelAnimationExtender> " & _
"    </div> " & _
" "
    End Function

    Public Shared Function GetDropDownCode() As String
        Return "&lt;div class=&quot;demoarea&quot;&gt; " & vbCrLf & _
"        &lt;div class=&quot;demoheading&quot;&gt;DropDown Demonstration&lt;/div&gt; " & vbCrLf & _
"         " & vbCrLf & _
"        &lt;div&gt;Hover over the text below and click to select an option:&lt;/div&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;asp:Label ID=&quot;TextLabel&quot; runat=&quot;server&quot; Text=&quot;Select your favorite exotic ice-cream flavor&quot; " & vbCrLf & _
"            Style=&quot;display: block; width: 300px; padding:2px; padding-right: 50px; font-family: Tahoma; font-size: 11px;&quot; /&gt; " & vbCrLf & _
"        &lt;asp:Panel ID=&quot;DropPanel&quot; runat=&quot;server&quot; CssClass=&quot;ContextMenuPanel&quot; Style=&quot;display :none; visibility: hidden;&quot;&gt; " & vbCrLf & _
"            &lt;asp:LinkButton runat=&quot;server&quot; ID=&quot;Option1&quot; Text=&quot;Mocha Blast&quot; CssClass=&quot;ContextMenuItem&quot; OnClick=&quot;OnSelect&quot; /&gt; " & vbCrLf & _
"            &lt;asp:LinkButton runat=&quot;server&quot; ID=&quot;Option2&quot; Text=&quot;Java Cyclone&quot; CssClass=&quot;ContextMenuItem&quot; OnClick=&quot;OnSelect&quot; /&gt; " & vbCrLf & _
"            &lt;asp:LinkButton runat=&quot;server&quot; ID=&quot;Option3&quot; Text=&quot;Dry Fruit&quot; CssClass=&quot;ContextMenuItem&quot; OnClick=&quot;OnSelect&quot; /&gt;         " & vbCrLf & _
"        &lt;/asp:Panel&gt; " & vbCrLf & _
"        &lt;ajaxToolkit:DropDownExtender runat=&quot;server&quot; ID=&quot;DDE&quot; " & vbCrLf & _
"            TargetControlID=&quot;TextLabel&quot; " & vbCrLf & _
"            DropDownControlID=&quot;DropPanel&quot; /&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;asp:UpdatePanel id=&quot;Update&quot; runat=&quot;server&quot;&gt; " & vbCrLf & _
"            &lt;ContentTemplate&gt; " & vbCrLf & _
"                &lt;asp:Label id=&quot;lblSelection&quot; runat=&quot;server&quot; Style=&quot;padding: 5px;&quot; /&gt; " & vbCrLf & _
"            &lt;/ContentTemplate&gt; " & vbCrLf & _
"            &lt;Triggers&gt; " & vbCrLf & _
"                &lt;asp:AsyncPostBackTrigger ControlID=&quot;Option1&quot; EventName=&quot;Click&quot; /&gt; " & vbCrLf & _
"                &lt;asp:AsyncPostBackTrigger ControlID=&quot;Option2&quot; EventName=&quot;Click&quot; /&gt; " & vbCrLf & _
"                &lt;asp:AsyncPostBackTrigger ControlID=&quot;Option3&quot; EventName=&quot;Click&quot; /&gt; " & vbCrLf & _
"            &lt;/Triggers&gt; " & vbCrLf & _
"        &lt;/asp:UpdatePanel&gt; " & vbCrLf & _
"         " & vbCrLf & _
"        &lt;ajaxToolkit:UpdatePanelAnimationExtender ID=&quot;UpdateAnimation&quot; runat=&quot;server&quot; TargetControlID=&quot;Update&quot; BehaviorID=&quot;Highlight&quot;&gt; " & vbCrLf & _
"            &lt;Animations&gt; " & vbCrLf & _
"                &lt;OnUpdated&gt; " & vbCrLf & _
"                    &lt;Sequence&gt; " & vbCrLf & _
"                        &lt;Color AnimationTarget=&quot;lblSelection&quot; " & vbCrLf & _
"                            Duration=&quot;.5&quot; PropertyKey=&quot;backgroundColor&quot; " & vbCrLf & _
"                            StartValue=&quot;#FFFF90&quot; EndValue=&quot;#FFFFFF&quot;  /&gt; " & vbCrLf & _
"                    &lt;/Sequence&gt; " & vbCrLf & _
"                &lt;/OnUpdated&gt; " & vbCrLf & _
"            &lt;/Animations&gt; " & vbCrLf & _
"        &lt;/ajaxToolkit:UpdatePanelAnimationExtender&gt; " & vbCrLf & _
"    &lt;/div&gt; " & vbCrLf & _
" "
    End Function


    Public Shared Function GetDropShadow() As String
        Return "<div class=""demoarea""> " & _
"        <div class=""demoheading"">DropShadow Demonstration</div> " & _
"        <asp:Panel ID=""Panel1"" runat=""server"" CssClass=""dropShadowPanel""> " & _
"            <div style=""padding:10px"">   " & _
"                First Name: <asp:TextBox ID=""TextBox1"" runat=""server""></asp:TextBox><br /> " & _
"                Last Name: <asp:TextBox ID=""TextBox2"" runat=""server""></asp:TextBox><br /> " & _
"                <hr /> " & _
"            " & _
"                <asp:Panel ID=""CollapseHeader"" runat=""server"" style=""cursor: pointer;""> " & _
"                    <asp:Label ID=""Label1"" runat=""server"" Text=""Label"">Show Details...</asp:Label> " & _
"                </asp:Panel> " & _
"                <asp:Panel ID=""Panel2"" runat=""server"" style=""overflow:hidden;height:0"">  " & _
"                    Not many details here.  This is just a demo to show how the DropShadow will react " & _
"                    properly to changes in the size of the panel it is attached to.                " & _
"                </asp:Panel> " & _
"                <ajaxToolkit:CollapsiblePanelExtender ID=""cpe1"" runat=""Server"" " & _
"                    TargetControlID=""Panel2"" " & _
"                    Collapsed=""true"" " & _
"                    CollapsedText=""Show Details..."" " & _
"                    ExpandedText=""Hide Details"" " & _
"                    TextLabelID=""Label1"" " & _
"                    ExpandControlID=""CollapseHeader"" " & _
"                    CollapseControlID=""CollapseHeader"" " & _
"                    SuppressPostBack=""true"" /> " & _
"            </div> " & _
"        </asp:Panel> " & _
" " & _
"        <ajaxToolkit:DropShadowExtender ID=""DropShadowExtender1"" runat=""server"" " & _
"            BehaviorID=""DropShadowBehavior1"" " & _
"            TargetControlID=""Panel1"" " & _
"            Width=""5"" " & _
"            Rounded=""true"" " & _
"            Radius=""6"" " & _
"            Opacity="".75"" " & _
"            TrackPosition=""true"" /> " & _
" " & _
"        <div style=""padding:15px;""> " & _
"            <label for=""chkShadow"">Show Drop Shadow: </label> " & _
"            <input type=""checkbox"" checked=""checked"" id=""chkShadow"" " & _
"                onclick=""var b = $find('DropShadowBehavior1'); b.set_Width(chkShadow.checked ?  5 : 0);""/><br /> " & _
"            <label for=""chkRounded"">Rounded: </label> " & _
"            <input type=""checkbox"" id=""chkRounded"" checked=""checked"" " & _
"                onclick=""var b = $find('DropShadowBehavior1'); b.set_Rounded(chkRounded.checked);""/> " & _
"            <div> " & _
"                Radius: " & _
"                <input type=""radio"" id=""radius2""  name=""radiusValues"" value=""2""  " & _
"                    onclick=""$find('DropShadowBehavior1').set_Radius(this.value);"" /> " & _
"                <label for=""radius2"">2</label> " & _
"                <input type=""radio"" id=""radius4""  name=""radiusValues"" value=""4"" " & _
"                    onclick=""$find('DropShadowBehavior1').set_Radius(this.value);"" /> " & _
"                <label for=""radius4"">4</label> " & _
"                <input type=""radio"" id=""radius6""  name=""radiusValues"" value=""6"" " & _
"                    onclick=""$find('DropShadowBehavior1').set_Radius(this.value);"" checked=""checked"" /> " & _
"                <label for=""radius6"">6</label> " & _
"                <input type=""radio"" id=""radius10"" name=""radiusValues"" value=""10"" " & _
"                    onclick=""$find('DropShadowBehavior1').set_Radius(this.value);""/> " & _
"                <label for=""radius10"">10</label> " & _
"            </div> " & _
"            <div> " & _
"                Opacity: " & _
"                <input type=""radio"" id=""opacity25""  name=""opacityValues"" value="".25"" " & _
"                    onclick=""$find('DropShadowBehavior1').set_Opacity(this.value);"" /> " & _
"                <label for=""opacity25"">25%</label> " & _
"                <input type=""radio"" id=""opacity50""  name=""opacityValues"" value="".5"" " & _
"                    onclick=""$find('DropShadowBehavior1').set_Opacity(this.value);"" /> " & _
"                <label for=""opacity50"">50%</label> " & _
"                <input type=""radio"" id=""opacity75""  name=""opacityValues"" value="".75"" " & _
"                    onclick=""$find('DropShadowBehavior1').set_Opacity(this.value);"" checked=""checked"" /> " & _
"                <label for=""opacity75"">75%</label> " & _
"                <input type=""radio"" id=""opacity100"" name=""opacityValues"" value=""1.0"" " & _
"                    onclick=""$find('DropShadowBehavior1').set_Opacity(this.value);""/> " & _
"                <label for=""opacity100"">100%</label> " & _
"            </div> " & _
"        </div> " & _
" " & _
"    </div> " & _
" "
    End Function

    Public Shared Function GetDropShadowCode() As String
        Return "&lt;div class=&quot;demoarea&quot;&gt; " & vbCrLf & _
"        &lt;div class=&quot;demoheading&quot;&gt;DropShadow Demonstration&lt;/div&gt; " & vbCrLf & _
"        &lt;asp:Panel ID=&quot;Panel1&quot; runat=&quot;server&quot; CssClass=&quot;dropShadowPanel&quot;&gt; " & vbCrLf & _
"            &lt;div style=&quot;padding:10px&quot;&gt;   " & vbCrLf & _
"                First Name: &lt;asp:TextBox ID=&quot;TextBox1&quot; runat=&quot;server&quot;&gt;&lt;/asp:TextBox&gt;&lt;br /&gt; " & vbCrLf & _
"                Last Name: &lt;asp:TextBox ID=&quot;TextBox2&quot; runat=&quot;server&quot;&gt;&lt;/asp:TextBox&gt;&lt;br /&gt; " & vbCrLf & _
"                &lt;hr /&gt; " & vbCrLf & _
"            " & vbCrLf & _
"                &lt;asp:Panel ID=&quot;CollapseHeader&quot; runat=&quot;server&quot; style=&quot;cursor: pointer;&quot;&gt; " & vbCrLf & _
"                    &lt;asp:Label ID=&quot;Label1&quot; runat=&quot;server&quot; Text=&quot;Label&quot;&gt;Show Details...&lt;/asp:Label&gt; " & vbCrLf & _
"                &lt;/asp:Panel&gt; " & vbCrLf & _
"                &lt;asp:Panel ID=&quot;Panel2&quot; runat=&quot;server&quot; style=&quot;overflow:hidden;height:0&quot;&gt;  " & vbCrLf & _
"                    Not many details here.  This is just a demo to show how the DropShadow will react " & vbCrLf & _
"                    properly to changes in the size of the panel it is attached to.                " & vbCrLf & _
"                &lt;/asp:Panel&gt; " & vbCrLf & _
"                &lt;ajaxToolkit:CollapsiblePanelExtender ID=&quot;cpe1&quot; runat=&quot;Server&quot; " & vbCrLf & _
"                    TargetControlID=&quot;Panel2&quot; " & vbCrLf & _
"                    Collapsed=&quot;true&quot; " & vbCrLf & _
"                    CollapsedText=&quot;Show Details...&quot; " & vbCrLf & _
"                    ExpandedText=&quot;Hide Details&quot; " & vbCrLf & _
"                    TextLabelID=&quot;Label1&quot; " & vbCrLf & _
"                    ExpandControlID=&quot;CollapseHeader&quot; " & vbCrLf & _
"                    CollapseControlID=&quot;CollapseHeader&quot; " & vbCrLf & _
"                    SuppressPostBack=&quot;true&quot; /&gt; " & vbCrLf & _
"            &lt;/div&gt; " & vbCrLf & _
"        &lt;/asp:Panel&gt; " & vbCrLf & _
" " & vbCrLf & _
"        &lt;ajaxToolkit:DropShadowExtender ID=&quot;DropShadowExtender1&quot; runat=&quot;server&quot; " & vbCrLf & _
"            BehaviorID=&quot;DropShadowBehavior1&quot; " & vbCrLf & _
"            TargetControlID=&quot;Panel1&quot; " & vbCrLf & _
"            Width=&quot;5&quot; " & vbCrLf & _
"            Rounded=&quot;true&quot; " & vbCrLf & _
"            Radius=&quot;6&quot; " & vbCrLf & _
"            Opacity=&quot;.75&quot; " & vbCrLf & _
"            TrackPosition=&quot;true&quot; /&gt; " & vbCrLf & _
" " & vbCrLf & _
"        &lt;div style=&quot;padding:15px;&quot;&gt; " & vbCrLf & _
"            &lt;label for=&quot;chkShadow&quot;&gt;Show Drop Shadow: &lt;/label&gt; " & vbCrLf & _
"            &lt;input type=&quot;checkbox&quot; checked=&quot;checked&quot; id=&quot;chkShadow&quot; " & vbCrLf & _
"                onclick=&quot;var b = $find('DropShadowBehavior1'); b.set_Width(chkShadow.checked ?  5 : 0);&quot;/&gt;&lt;br /&gt; " & vbCrLf & _
"            &lt;label for=&quot;chkRounded&quot;&gt;Rounded: &lt;/label&gt; " & vbCrLf & _
"            &lt;input type=&quot;checkbox&quot; id=&quot;chkRounded&quot; checked=&quot;checked&quot; " & vbCrLf & _
"                onclick=&quot;var b = $find('DropShadowBehavior1'); b.set_Rounded(chkRounded.checked);&quot;/&gt; " & vbCrLf & _
"            &lt;div&gt; " & vbCrLf & _
"                Radius: " & vbCrLf & _
"                &lt;input type=&quot;radio&quot; id=&quot;radius2&quot;  name=&quot;radiusValues&quot; value=&quot;2&quot;  " & vbCrLf & _
"                    onclick=&quot;$find('DropShadowBehavior1').set_Radius(this.value);&quot; /&gt; " & vbCrLf & _
"                &lt;label for=&quot;radius2&quot;&gt;2&lt;/label&gt; " & vbCrLf & _
"                &lt;input type=&quot;radio&quot; id=&quot;radius4&quot;  name=&quot;radiusValues&quot; value=&quot;4&quot; " & vbCrLf & _
"                    onclick=&quot;$find('DropShadowBehavior1').set_Radius(this.value);&quot; /&gt; " & vbCrLf & _
"                &lt;label for=&quot;radius4&quot;&gt;4&lt;/label&gt; " & vbCrLf & _
"                &lt;input type=&quot;radio&quot; id=&quot;radius6&quot;  name=&quot;radiusValues&quot; value=&quot;6&quot; " & vbCrLf & _
"                    onclick=&quot;$find('DropShadowBehavior1').set_Radius(this.value);&quot; checked=&quot;checked&quot; /&gt; " & vbCrLf & _
"                &lt;label for=&quot;radius6&quot;&gt;6&lt;/label&gt; " & vbCrLf & _
"                &lt;input type=&quot;radio&quot; id=&quot;radius10&quot; name=&quot;radiusValues&quot; value=&quot;10&quot; " & vbCrLf & _
"                    onclick=&quot;$find('DropShadowBehavior1').set_Radius(this.value);&quot;/&gt; " & vbCrLf & _
"                &lt;label for=&quot;radius10&quot;&gt;10&lt;/label&gt; " & vbCrLf & _
"            &lt;/div&gt; " & vbCrLf & _
"            &lt;div&gt; " & vbCrLf & _
"                Opacity: " & vbCrLf & _
"                &lt;input type=&quot;radio&quot; id=&quot;opacity25&quot;  name=&quot;opacityValues&quot; value=&quot;.25&quot; " & vbCrLf & _
"                    onclick=&quot;$find('DropShadowBehavior1').set_Opacity(this.value);&quot; /&gt; " & vbCrLf & _
"                &lt;label for=&quot;opacity25&quot;&gt;25%&lt;/label&gt; " & vbCrLf & _
"                &lt;input type=&quot;radio&quot; id=&quot;opacity50&quot;  name=&quot;opacityValues&quot; value=&quot;.5&quot; " & vbCrLf & _
"                    onclick=&quot;$find('DropShadowBehavior1').set_Opacity(this.value);&quot; /&gt; " & vbCrLf & _
"                &lt;label for=&quot;opacity50&quot;&gt;50%&lt;/label&gt; " & vbCrLf & _
"                &lt;input type=&quot;radio&quot; id=&quot;opacity75&quot;  name=&quot;opacityValues&quot; value=&quot;.75&quot; " & vbCrLf & _
"                    onclick=&quot;$find('DropShadowBehavior1').set_Opacity(this.value);&quot; checked=&quot;checked&quot; /&gt; " & vbCrLf & _
"                &lt;label for=&quot;opacity75&quot;&gt;75%&lt;/label&gt; " & vbCrLf & _
"                &lt;input type=&quot;radio&quot; id=&quot;opacity100&quot; name=&quot;opacityValues&quot; value=&quot;1.0&quot; " & vbCrLf & _
"                    onclick=&quot;$find('DropShadowBehavior1').set_Opacity(this.value);&quot;/&gt; " & vbCrLf & _
"                &lt;label for=&quot;opacity100&quot;&gt;100%&lt;/label&gt; " & vbCrLf & _
"            &lt;/div&gt; " & vbCrLf & _
"        &lt;/div&gt; " & vbCrLf & _
" " & vbCrLf & _
"    &lt;/div&gt; " & vbCrLf & _
" "

    End Function


    Public Shared Function GetDynamicPopulate() As String
        Return "<script runat=""server""> " & _
"    [System.Web.Services.WebMethod] " & _
"    [System.Web.Script.Services.ScriptMethod] " & _
"    public static string GetHtml(string contextKey) " & _
"    { " & _
"        // A little pause to mimic a latent call " & _
"        System.Threading.Thread.Sleep(250); " & _
" " & _
"        string value = (contextKey == ""U"") ? " & _
"            DateTime.UtcNow.ToString() : " & _
"            String.Format(""{0:"" + contextKey + ""}"", DateTime.Now); " & _
"        return String.Format(""<span style='font-family:courier new;font-weight:bold;'>{0}</span>"", value); " & _
"    } " & _
"</script> " & _
" " & _
"<script  type=""text/javascript""> " & _
"        function updateDateKey(value) { " & _
"            var behavior = $find('dp1'); " & _
"            if (behavior) { " & _
"                behavior.populate(value); " & _
"            } " & _
"        } " & _
"        Sys.Application.add_load(function(){updateDateKey('G');}); " & _
"    </script> " & _
"	 " & _
"	<div class=""demoarea""> " & _
"        <div class=""demoheading"">DynamicPopulate Demonstration</div> " & _
"        <p> " & _
"            <asp:Label ID=""Label1"" runat=""server"" Text=""Label"" CssClass=""subheading"">Time at the server:</asp:Label>   " & _
"        </p> " & _
"        <p>Choose a date/time format:</p> " & _
"        <p> " & _
"            <label for=""r0""><input type=""radio"" name=""rbFormat"" id=""r0"" value='G' " & _
"                onclick=""updateDateKey(this.value);"" checked=""checked"" />Normal</label><br /> " & _
"            <label for=""r1""><input type=""radio"" name=""rbFormat"" id=""r1"" value='d' " & _
"                onclick=""updateDateKey(this.value);"" />Short Date</label><br /> " & _
"            <label for=""r2""><input type=""radio"" name=""rbFormat"" id=""r2"" value='D' " & _
"                onclick=""updateDateKey(this.value);"" />Long Date</label><br /> " & _
"            <label for=""r3""><input type=""radio"" name=""rbFormat"" id=""r3"" value='U' " & _
"                onclick=""updateDateKey(this.value);"" />UTC Date/Time</label><br /> " & _
"        </p> " & _
"        <br /> " & _
"        <p> " & _
"            This time is dynamically formatted and returned as HTML from the server:</p> " & _
"            <asp:Panel ID=""Panel1"" runat=""server"" CssClass=""dynamicPopulate_Normal"" /> " & _
"        <br /> " & _
"         " & _
"     " & _
"        <ajaxToolkit:DynamicPopulateExtender ID=""dp"" BehaviorID=""dp1"" runat=""server"" " & _
"            TargetControlID=""Panel1"" " & _
"            ClearContentsDuringUpdate=""true"" " & _
"            PopulateTriggerControlID=""Label1"" " & _
"            ServiceMethod=""GetHtml"" " & _
"            UpdatingCssClass=""dynamicPopulate_Updating"" /> " & _
"    </div> " & _
" "
    End Function

    Public Shared Function GetDynamicPopulateCode() As String
        Return "&lt;script runat=&quot;server&quot;&gt; " & vbCrLf & _
"    [System.Web.Services.WebMethod] " & vbCrLf & _
"    [System.Web.Script.Services.ScriptMethod] " & vbCrLf & _
"    public static string GetHtml(string contextKey) " & vbCrLf & _
"    { " & vbCrLf & _
"        // A little pause to mimic a latent call " & vbCrLf & _
"        System.Threading.Thread.Sleep(250); " & vbCrLf & _
" " & vbCrLf & _
"        string value = (contextKey == &quot;U&quot;) ? " & vbCrLf & _
"            DateTime.UtcNow.ToString() : " & vbCrLf & _
"            String.Format(&quot;{0:&quot; + contextKey + &quot;}&quot;, DateTime.Now); " & vbCrLf & _
"        return String.Format(&quot;&lt;span style='font-family:courier new;font-weight:bold;'&gt;{0}&lt;/span&gt;&quot;, value); " & vbCrLf & _
"    } " & vbCrLf & _
"&lt;/script&gt; " & vbCrLf & _
" " & vbCrLf & _
"&lt;script  type=&quot;text/javascript&quot;&gt; " & vbCrLf & _
"        function updateDateKey(value) { " & vbCrLf & _
"            var behavior = $find('dp1'); " & vbCrLf & _
"            if (behavior) { " & vbCrLf & _
"                behavior.populate(value); " & vbCrLf & _
"            } " & vbCrLf & _
"        } " & vbCrLf & _
"        Sys.Application.add_load(function(){updateDateKey('G');}); " & vbCrLf & _
"    &lt;/script&gt; " & vbCrLf & _
"	 " & vbCrLf & _
"	&lt;div class=&quot;demoarea&quot;&gt; " & vbCrLf & _
"        &lt;div class=&quot;demoheading&quot;&gt;DynamicPopulate Demonstration&lt;/div&gt; " & vbCrLf & _
"        &lt;p&gt; " & vbCrLf & _
"            &lt;asp:Label ID=&quot;Label1&quot; runat=&quot;server&quot; Text=&quot;Label&quot; CssClass=&quot;subheading&quot;&gt;Time at the server:&lt;/asp:Label&gt;   " & vbCrLf & _
"        &lt;/p&gt; " & vbCrLf & _
"        &lt;p&gt;Choose a date/time format:&lt;/p&gt; " & vbCrLf & _
"        &lt;p&gt; " & vbCrLf & _
"            &lt;label for=&quot;r0&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;rbFormat&quot; id=&quot;r0&quot; value='G' " & vbCrLf & _
"                onclick=&quot;updateDateKey(this.value);&quot; checked=&quot;checked&quot; /&gt;Normal&lt;/label&gt;&lt;br /&gt; " & vbCrLf & _
"            &lt;label for=&quot;r1&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;rbFormat&quot; id=&quot;r1&quot; value='d' " & vbCrLf & _
"                onclick=&quot;updateDateKey(this.value);&quot; /&gt;Short Date&lt;/label&gt;&lt;br /&gt; " & vbCrLf & _
"            &lt;label for=&quot;r2&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;rbFormat&quot; id=&quot;r2&quot; value='D' " & vbCrLf & _
"                onclick=&quot;updateDateKey(this.value);&quot; /&gt;Long Date&lt;/label&gt;&lt;br /&gt; " & vbCrLf & _
"            &lt;label for=&quot;r3&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;rbFormat&quot; id=&quot;r3&quot; value='U' " & vbCrLf & _
"                onclick=&quot;updateDateKey(this.value);&quot; /&gt;UTC Date/Time&lt;/label&gt;&lt;br /&gt; " & vbCrLf & _
"        &lt;/p&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"        &lt;p&gt; " & vbCrLf & _
"            This time is dynamically formatted and returned as HTML from the server:&lt;/p&gt; " & vbCrLf & _
"            &lt;asp:Panel ID=&quot;Panel1&quot; runat=&quot;server&quot; CssClass=&quot;dynamicPopulate_Normal&quot; /&gt; " & vbCrLf & _
"        &lt;br /&gt; " & vbCrLf & _
"         " & vbCrLf & _
"     " & vbCrLf & _
"        &lt;ajaxToolkit:DynamicPopulateExtender ID=&quot;dp&quot; BehaviorID=&quot;dp1&quot; runat=&quot;server&quot; " & vbCrLf & _
"            TargetControlID=&quot;Panel1&quot; " & vbCrLf & _
"            ClearContentsDuringUpdate=&quot;true&quot; " & vbCrLf & _
"            PopulateTriggerControlID=&quot;Label1&quot; " & vbCrLf & _
"            ServiceMethod=&quot;GetHtml&quot; " & vbCrLf & _
"            UpdatingCssClass=&quot;dynamicPopulate_Updating&quot; /&gt; " & vbCrLf & _
"    &lt;/div&gt; " & vbCrLf & _
" "
    End Function


    Public Shared Function GetFilteredTextBox() As String
        Return "<div class=""demoarea""> " & _
"        <div class=""demoheading"">FilteredTextBox Demonstration</div> " & _
"        <table border=""0""> " & _
"            <tr> " & _
"                <td>Only digits are allowed here:</td> " & _
"                <td><asp:TextBox ID=""TextBox1"" runat=""server"" /></td> " & _
"            </tr> " & _
"            <tr> " & _
"            <td>Only lower-case letters are allowed here:</td> " & _
"                <td><asp:TextBox ID=""TextBox2"" runat=""server"" /></td> " & _
"            </tr> " & _
"            <tr> " & _
"            <td>Only math symbols (+,-,*,/,=,.) and numbers:</td> " & _
"                <td><asp:TextBox ID=""TextBox3"" runat=""server"" /></td> " & _
"            </tr> " & _
"            <tr> " & _
"            <td>No digits allowed in this textbox:</td> " & _
"                <td><asp:TextBox ID=""TextBox4"" runat=""server"" /></td> " & _
"            </tr> " & _
"        </table> " & _
" " & _
"        <ajaxToolkit:FilteredTextBoxExtender " & _
"           ID=""FilteredTextBoxExtender1"" " & _
"           runat=""server"" " & _
"           TargetControlID=""TextBox1"" " & _
"           FilterType=""Numbers"" /> " & _
"           " & _
"        <ajaxToolkit:FilteredTextBoxExtender " & _
"            ID=""FilteredTextBoxExtender2"" " & _
"            runat=""server""  " & _
"            TargetControlID=""TextBox2"" " & _
"            FilterType=""LowercaseLetters"" />    " & _
"                  " & _
"        <ajaxToolkit:FilteredTextBoxExtender " & _
"            ID=""FilteredTextBoxExtender3"" " & _
"            runat=""server""  " & _
"            TargetControlID=""TextBox3"" " & _
"            FilterType=""Custom, Numbers"" " & _
"            ValidChars=""+-=/*()."" /> " & _
" " & _
"        <ajaxToolkit:FilteredTextBoxExtender " & _
"            ID=""FilteredTextBoxExtender4"" " & _
"            runat=""server""  " & _
"            TargetControlID=""TextBox4"" " & _
"            FilterType=""Custom"" " & _
"            FilterMode=""InvalidChars"" " & _
"            InvalidChars=""1234567890"" /> " & _
"    </div> " & _
" "
    End Function

    Public Shared Function GetFilteredTextBoxCode() As String
        Return "&lt;div class=&quot;demoarea&quot;&gt; " & vbCrLf & _
"        &lt;div class=&quot;demoheading&quot;&gt;FilteredTextBox Demonstration&lt;/div&gt; " & vbCrLf & _
"        &lt;table border=&quot;0&quot;&gt; " & vbCrLf & _
"            &lt;tr&gt; " & vbCrLf & _
"                &lt;td&gt;Only digits are allowed here:&lt;/td&gt; " & vbCrLf & _
"                &lt;td&gt;&lt;asp:TextBox ID=&quot;TextBox1&quot; runat=&quot;server&quot; /&gt;&lt;/td&gt; " & vbCrLf & _
"            &lt;/tr&gt; " & vbCrLf & _
"            &lt;tr&gt; " & vbCrLf & _
"            &lt;td&gt;Only lower-case letters are allowed here:&lt;/td&gt; " & vbCrLf & _
"                &lt;td&gt;&lt;asp:TextBox ID=&quot;TextBox2&quot; runat=&quot;server&quot; /&gt;&lt;/td&gt; " & vbCrLf & _
"            &lt;/tr&gt; " & vbCrLf & _
"            &lt;tr&gt; " & vbCrLf & _
"            &lt;td&gt;Only math symbols (+,-,*,/,=,.) and numbers:&lt;/td&gt; " & vbCrLf & _
"                &lt;td&gt;&lt;asp:TextBox ID=&quot;TextBox3&quot; runat=&quot;server&quot; /&gt;&lt;/td&gt; " & vbCrLf & _
"            &lt;/tr&gt; " & vbCrLf & _
"            &lt;tr&gt; " & vbCrLf & _
"            &lt;td&gt;No digits allowed in this textbox:&lt;/td&gt; " & vbCrLf & _
"                &lt;td&gt;&lt;asp:TextBox ID=&quot;TextBox4&quot; runat=&quot;server&quot; /&gt;&lt;/td&gt; " & vbCrLf & _
"            &lt;/tr&gt; " & vbCrLf & _
"        &lt;/table&gt; " & vbCrLf & _
" " & vbCrLf & _
"        &lt;ajaxToolkit:FilteredTextBoxExtender " & vbCrLf & _
"           ID=&quot;FilteredTextBoxExtender1&quot; " & vbCrLf & _
"           runat=&quot;server&quot; " & vbCrLf & _
"           TargetControlID=&quot;TextBox1&quot; " & vbCrLf & _
"           FilterType=&quot;Numbers&quot; /&gt; " & vbCrLf & _
"           " & vbCrLf & _
"        &lt;ajaxToolkit:FilteredTextBoxExtender " & vbCrLf & _
"            ID=&quot;FilteredTextBoxExtender2&quot; " & vbCrLf & _
"            runat=&quot;server&quot;  " & vbCrLf & _
"            TargetControlID=&quot;TextBox2&quot; " & vbCrLf & _
"            FilterType=&quot;LowercaseLetters&quot; /&gt;    " & vbCrLf & _
"                  " & vbCrLf & _
"        &lt;ajaxToolkit:FilteredTextBoxExtender " & vbCrLf & _
"            ID=&quot;FilteredTextBoxExtender3&quot; " & vbCrLf & _
"            runat=&quot;server&quot;  " & vbCrLf & _
"            TargetControlID=&quot;TextBox3&quot; " & vbCrLf & _
"            FilterType=&quot;Custom, Numbers&quot; " & vbCrLf & _
"            ValidChars=&quot;+-=/*().&quot; /&gt; " & vbCrLf & _
" " & vbCrLf & _
"        &lt;ajaxToolkit:FilteredTextBoxExtender " & vbCrLf & _
"            ID=&quot;FilteredTextBoxExtender4&quot; " & vbCrLf & _
"            runat=&quot;server&quot;  " & vbCrLf & _
"            TargetControlID=&quot;TextBox4&quot; " & vbCrLf & _
"            FilterType=&quot;Custom&quot; " & vbCrLf & _
"            FilterMode=&quot;InvalidChars&quot; " & vbCrLf & _
"            InvalidChars=&quot;1234567890&quot; /&gt; " & vbCrLf & _
"    &lt;/div&gt; " & vbCrLf & _
" "
    End Function


    Public Shared Function GetGravatar() As String
        Return "<div class=""demoarea""> " & _
"        <div class=""demoheading""> " & _
"            Gravatar Demonstration</div> " & _
"            <div> " & _
"                Displays gravatar for an email account: " & _
"                <br /> " & _
"                <ajaxToolkit:Gravatar ID=""Gravatar1"" Email=""test@superexpert.com"" Size=""200"" Rating=""R"" runat=""server"" /> " & _
"                <br /> " & _
"                <hr /> " & _
"                Displays default image for an email which doesn't meet rating requirments: " & _
"                <br /> " & _
"                <ajaxToolkit:Gravatar ID=""Gravatar2"" Email=""thesameqad@gmail.com"" Rating=""G"" DefaultImageBehavior=""MysteryMan"" runat=""server"" /> " & _
"                <br />                 " & _
"                <hr /> " & _
"                Displays different identicons (generated geometric patterns) for different emails which do not have Gravatar images: " & _
"                <br /> " & _
"                <ajaxToolkit:Gravatar ID=""Gravatar3"" Email=""Sample1@DoesNotExist.com"" DefaultImageBehavior=""Identicon"" runat=""server"" /> " & _
"                <ajaxToolkit:Gravatar ID=""Gravatar4"" Email=""Sample2@DoesNotExist.com"" DefaultImageBehavior=""Identicon"" runat=""server"" /> " & _
"                <ajaxToolkit:Gravatar ID=""Gravatar5"" Email=""Sample3@DoesNotExist.com"" DefaultImageBehavior=""Identicon"" runat=""server"" /> " & _
"                <br />                 " & _
"                <hr /> " & _
"                Displays different wavatars (generated faces) for different emails which do not have Gravatar images: " & _
"                <br /> " & _
"                <ajaxToolkit:Gravatar ID=""Gravatar6"" Email=""Sample1@DoesNotExist.com"" DefaultImageBehavior=""Wavatar"" runat=""server"" /> " & _
"                <ajaxToolkit:Gravatar ID=""Gravatar7"" Email=""Sample2@DoesNotExist.com"" DefaultImageBehavior=""Wavatar"" runat=""server"" /> " & _
"                <ajaxToolkit:Gravatar ID=""Gravatar8"" Email=""Sample3@DoesNotExist.com"" DefaultImageBehavior=""Wavatar"" runat=""server"" /> " & _
" " & _
"            </div>                                        " & _
"    </div> " & _
" "
    End Function

    Public Shared Function GetGravatarCode() As String
        Return "&lt;div class=&quot;demoarea&quot;&gt; " & vbCrLf & _
"        &lt;div class=&quot;demoheading&quot;&gt; " & vbCrLf & _
"            Gravatar Demonstration&lt;/div&gt; " & vbCrLf & _
"            &lt;div&gt; " & vbCrLf & _
"                Displays gravatar for an email account: " & vbCrLf & _
"                &lt;br /&gt; " & vbCrLf & _
"                &lt;ajaxToolkit:Gravatar ID=&quot;Gravatar1&quot; Email=&quot;test@superexpert.com&quot; Size=&quot;200&quot; Rating=&quot;R&quot; runat=&quot;server&quot; /&gt; " & vbCrLf & _
"                &lt;br /&gt; " & vbCrLf & _
"                &lt;hr /&gt; " & vbCrLf & _
"                Displays default image for an email which doesn't meet rating requirments: " & vbCrLf & _
"                &lt;br /&gt; " & vbCrLf & _
"                &lt;ajaxToolkit:Gravatar ID=&quot;Gravatar2&quot; Email=&quot;thesameqad@gmail.com&quot; Rating=&quot;G&quot; DefaultImageBehavior=&quot;MysteryMan&quot; runat=&quot;server&quot; /&gt; " & vbCrLf & _
"                &lt;br /&gt;                 " & vbCrLf & _
"                &lt;hr /&gt; " & vbCrLf & _
"                Displays different identicons (generated geometric patterns) for different emails which do not have Gravatar images: " & vbCrLf & _
"                &lt;br /&gt; " & vbCrLf & _
"                &lt;ajaxToolkit:Gravatar ID=&quot;Gravatar3&quot; Email=&quot;Sample1@DoesNotExist.com&quot; DefaultImageBehavior=&quot;Identicon&quot; runat=&quot;server&quot; /&gt; " & vbCrLf & _
"                &lt;ajaxToolkit:Gravatar ID=&quot;Gravatar4&quot; Email=&quot;Sample2@DoesNotExist.com&quot; DefaultImageBehavior=&quot;Identicon&quot; runat=&quot;server&quot; /&gt; " & vbCrLf & _
"                &lt;ajaxToolkit:Gravatar ID=&quot;Gravatar5&quot; Email=&quot;Sample3@DoesNotExist.com&quot; DefaultImageBehavior=&quot;Identicon&quot; runat=&quot;server&quot; /&gt; " & vbCrLf & _
"                &lt;br /&gt;                 " & vbCrLf & _
"                &lt;hr /&gt; " & vbCrLf & _
"                Displays different wavatars (generated faces) for different emails which do not have Gravatar images: " & vbCrLf & _
"                &lt;br /&gt; " & vbCrLf & _
"                &lt;ajaxToolkit:Gravatar ID=&quot;Gravatar6&quot; Email=&quot;Sample1@DoesNotExist.com&quot; DefaultImageBehavior=&quot;Wavatar&quot; runat=&quot;server&quot; /&gt; " & vbCrLf & _
"                &lt;ajaxToolkit:Gravatar ID=&quot;Gravatar7&quot; Email=&quot;Sample2@DoesNotExist.com&quot; DefaultImageBehavior=&quot;Wavatar&quot; runat=&quot;server&quot; /&gt; " & vbCrLf & _
"                &lt;ajaxToolkit:Gravatar ID=&quot;Gravatar8&quot; Email=&quot;Sample3@DoesNotExist.com&quot; DefaultImageBehavior=&quot;Wavatar&quot; runat=&quot;server&quot; /&gt; " & vbCrLf & _
" " & vbCrLf & _
"            &lt;/div&gt;                                        " & vbCrLf & _
"    &lt;/div&gt; " & vbCrLf & _
" "

    End Function


    Public Shared Function GetHoverMenu() As String
        Return "<div class=""demoarea""> " & _
"        <div class=""demoheading"">HoverMenu Demonstration</div> " & _
"        <p>Mouse over the grid below to see the options for each row.</p> " & _
"     " & _
"        <asp:UpdatePanel ID=""up1"" runat=""server""> " & _
"            <ContentTemplate> " & _
"     " & _
"                <asp:GridView ID=""GridView1"" runat=""server"" " & _
"                    AutoGenerateColumns=""False"" DataKeyNames=""ItemID"" DataSourceID=""ObjectDataSource1"" " & _
"                    ShowHeader=""False"" Width=""100%"" BackColor=""Azure"" GridLines=""None"" > " & _
"                    <Columns> " & _
"                        <asp:TemplateField> " & _
"                            <ItemTemplate> " & _
"                                <asp:Panel CssClass=""popupMenu"" ID=""PopupMenu"" runat=""server""> " & _
"                                    <div style=""border:1px outset white;padding:2px;""> " & _
"                                        <div><asp:LinkButton ID=""LinkButton1"" runat=""server"" CommandName=""Edit"" Text=""Edit"" /></div> " & _
"                                        <div><asp:LinkButton ID=""LinkButton2"" runat=""server"" CommandName=""Delete"" Text=""Delete"" /></div> " & _
"                                    </div> " & _
"                                </asp:Panel> " & _
" " & _
"                                <asp:Panel ID=""Panel9"" runat=""server""> " & _
"                                    <table width=""100%""> " & _
"                                        <tr> " & _
"                                            <td width=""25%""><asp:Label Font-Bold=""true"" ID=""Label1"" runat=""server"" " & _
"                                                Text='<%# HttpUtility.HtmlEncode(Convert.ToString(Eval(""Title""))) %>' /></td> " & _
"                                            <td width=""50%""><asp:Label ID=""Label2"" runat=""server"" " & _
"                                                Text='<%# HttpUtility.HtmlEncode(Convert.ToString(Eval(""Description""))) %>' /></td> " & _
"                                            <td width=""25%""><asp:Label ID=""Label3"" runat=""server"" Text='<%# Eval(""Priority"") %>' /></td> " & _
"                                        </tr> " & _
"                                    </table> " & _
"                                </asp:Panel> " & _
" " & _
"                                <ajaxToolkit:HoverMenuExtender ID=""hme2"" runat=""Server"" " & _
"                                    HoverCssClass=""popupHover"" " & _
"                                    PopupControlID=""PopupMenu"" " & _
"                                    PopupPosition=""Left"" " & _
"                                    TargetControlID=""Panel9"" " & _
"                                    PopDelay=""25"" /> " & _
"                            </ItemTemplate> " & _
"                            <EditItemTemplate>   " & _
"                                <asp:Panel ID=""Panel9"" runat=""server"" Width=""80%""> " & _
"                                    <table width=""100%""> " & _
"                                        <tr> " & _
"                                            <td width=""30%"">Title:<br /><asp:TextBox Font-Bold=""true"" ID=""TextBox1"" runat=""server"" " & _
"                                                Text='<%# Bind(""Title"") %>' Width=""100"" /></td> " & _
"                                            <td width=""55%"">Desc:<br /><asp:TextBox ID=""TextBox2"" runat=""server"" " & _
"                                                Text='<%# Bind(""Description"") %>' Width=""150"" /></td> " & _
"                                            <td width=""15%"">Pri:<br /><asp:TextBox ID=""TextBox3"" runat=""server"" " & _
"                                                Text='<%# Bind(""Priority"") %>' Width=""40"" /></td> " & _
"                                        </tr> " & _
"                                    </table> " & _
"                                </asp:Panel> " & _
" " & _
"                                <ajaxToolkit:HoverMenuExtender ID=""hme1"" runat=""Server"" " & _
"                                    TargetControlID=""Panel9"" " & _
"                                    PopupControlID=""PopupMenu"" " & _
"                                    HoverCssClass=""popupHover"" " & _
"                                    PopupPosition=""Right"" /> " & _
"                                " & _
"                                <asp:Panel ID=""PopupMenu"" runat=""server"" CssClass=""popupMenu"" Width=""80""> " & _
"                                    <div style=""border:1px outset white""> " & _
"                                        <asp:LinkButton ID=""LinkButton1"" runat=""server"" " & _
"                                            CausesValidation=""True"" CommandName=""Update"" Text=""Update"" /> " & _
"                                        <br /> " & _
"                                        <asp:LinkButton ID=""LinkButton2"" runat=""server"" " & _
"                                            CausesValidation=""False"" CommandName=""Cancel"" Text=""Cancel"" /> " & _
"                                    </div> " & _
"                                </asp:Panel> " & _
"                            </EditItemTemplate> " & _
"                        </asp:TemplateField> " & _
"                    </Columns> " & _
"                </asp:GridView> " & _
"                <asp:ObjectDataSource ID=""ObjectDataSource1"" runat=""server"" DeleteMethod=""Delete"" " & _
"                    InsertMethod=""Insert"" OldValuesParameterFormatString=""original_{0}"" SelectMethod=""Select"" " & _
"                    TypeName=""SessionTodoXmlDataObject"" UpdateMethod=""Update""> " & _
"                    <DeleteParameters> " & _
"                        <asp:Parameter Name=""Original_ItemID"" Type=""Int32"" /> " & _
"                    </DeleteParameters> " & _
"                    <UpdateParameters> " & _
"                        <asp:Parameter Name=""Title"" Type=""String"" /> " & _
"                        <asp:Parameter Name=""Description"" Type=""String"" /> " & _
"                        <asp:Parameter Name=""Priority"" Type=""Int32"" /> " & _
"                        <asp:Parameter Name=""Original_ItemID"" Type=""Int32"" /> " & _
"                    </UpdateParameters> " & _
"                    <InsertParameters> " & _
"                        <asp:Parameter Name=""Title"" Type=""String"" /> " & _
"                        <asp:Parameter Name=""Description"" Type=""String"" /> " & _
"                        <asp:Parameter Name=""Priority"" Type=""Int32"" /> " & _
"                    </InsertParameters> " & _
"                </asp:ObjectDataSource> " & _
"            </ContentTemplate> " & _
"        </asp:UpdatePanel> " & _
"    </div> " & _
" "
    End Function

    Public Shared Function GetHoverMenuCode() As String
        Return "&lt;div class=&quot;demoarea&quot;&gt; " & vbCrLf & _
"        &lt;div class=&quot;demoheading&quot;&gt;HoverMenu Demonstration&lt;/div&gt; " & vbCrLf & _
"        &lt;p&gt;Mouse over the grid below to see the options for each row.&lt;/p&gt; " & vbCrLf & _
"     " & vbCrLf & _
"        &lt;asp:UpdatePanel ID=&quot;up1&quot; runat=&quot;server&quot;&gt; " & vbCrLf & _
"            &lt;ContentTemplate&gt; " & vbCrLf & _
"     " & vbCrLf & _
"                &lt;asp:GridView ID=&quot;GridView1&quot; runat=&quot;server&quot; " & vbCrLf & _
"                    AutoGenerateColumns=&quot;False&quot; DataKeyNames=&quot;ItemID&quot; DataSourceID=&quot;ObjectDataSource1&quot; " & vbCrLf & _
"                    ShowHeader=&quot;False&quot; Width=&quot;100%&quot; BackColor=&quot;Azure&quot; GridLines=&quot;None&quot; &gt; " & vbCrLf & _
"                    &lt;Columns&gt; " & vbCrLf & _
"                        &lt;asp:TemplateField&gt; " & vbCrLf & _
"                            &lt;ItemTemplate&gt; " & vbCrLf & _
"                                &lt;asp:Panel CssClass=&quot;popupMenu&quot; ID=&quot;PopupMenu&quot; runat=&quot;server&quot;&gt; " & vbCrLf & _
"                                    &lt;div style=&quot;border:1px outset white;padding:2px;&quot;&gt; " & vbCrLf & _
"                                        &lt;div&gt;&lt;asp:LinkButton ID=&quot;LinkButton1&quot; runat=&quot;server&quot; CommandName=&quot;Edit&quot; Text=&quot;Edit&quot; /&gt;&lt;/div&gt; " & vbCrLf & _
"                                        &lt;div&gt;&lt;asp:LinkButton ID=&quot;LinkButton2&quot; runat=&quot;server&quot; CommandName=&quot;Delete&quot; Text=&quot;Delete&quot; /&gt;&lt;/div&gt; " & vbCrLf & _
"                                    &lt;/div&gt; " & vbCrLf & _
"                                &lt;/asp:Panel&gt; " & vbCrLf & _
" " & vbCrLf & _
"                                &lt;asp:Panel ID=&quot;Panel9&quot; runat=&quot;server&quot;&gt; " & vbCrLf & _
"                                    &lt;table width=&quot;100%&quot;&gt; " & vbCrLf & _
"                                        &lt;tr&gt; " & vbCrLf & _
"                                            &lt;td width=&quot;25%&quot;&gt;&lt;asp:Label Font-Bold=&quot;true&quot; ID=&quot;Label1&quot; runat=&quot;server&quot; " & vbCrLf & _
"                                                Text='&lt;%# HttpUtility.HtmlEncode(Convert.ToString(Eval(&quot;Title&quot;))) %&gt;' /&gt;&lt;/td&gt; " & vbCrLf & _
"                                            &lt;td width=&quot;50%&quot;&gt;&lt;asp:Label ID=&quot;Label2&quot; runat=&quot;server&quot; " & vbCrLf & _
"                                                Text='&lt;%# HttpUtility.HtmlEncode(Convert.ToString(Eval(&quot;Description&quot;))) %&gt;' /&gt;&lt;/td&gt; " & vbCrLf & _
"                                            &lt;td width=&quot;25%&quot;&gt;&lt;asp:Label ID=&quot;Label3&quot; runat=&quot;server&quot; Text='&lt;%# Eval(&quot;Priority&quot;) %&gt;' /&gt;&lt;/td&gt; " & vbCrLf & _
"                                        &lt;/tr&gt; " & vbCrLf & _
"                                    &lt;/table&gt; " & vbCrLf & _
"                                &lt;/asp:Panel&gt; " & vbCrLf & _
" " & vbCrLf & _
"                                &lt;ajaxToolkit:HoverMenuExtender ID=&quot;hme2&quot; runat=&quot;Server&quot; " & vbCrLf & _
"                                    HoverCssClass=&quot;popupHover&quot; " & vbCrLf & _
"                                    PopupControlID=&quot;PopupMenu&quot; " & vbCrLf & _
"                                    PopupPosition=&quot;Left&quot; " & vbCrLf & _
"                                    TargetControlID=&quot;Panel9&quot; " & vbCrLf & _
"                                    PopDelay=&quot;25&quot; /&gt; " & vbCrLf & _
"                            &lt;/ItemTemplate&gt; " & vbCrLf & _
"                            &lt;EditItemTemplate&gt;   " & vbCrLf & _
"                                &lt;asp:Panel ID=&quot;Panel9&quot; runat=&quot;server&quot; Width=&quot;80%&quot;&gt; " & vbCrLf & _
"                                    &lt;table width=&quot;100%&quot;&gt; " & vbCrLf & _
"                                        &lt;tr&gt; " & vbCrLf & _
"                                            &lt;td width=&quot;30%&quot;&gt;Title:&lt;br /&gt;&lt;asp:TextBox Font-Bold=&quot;true&quot; ID=&quot;TextBox1&quot; runat=&quot;server&quot; " & vbCrLf & _
"                                                Text='&lt;%# Bind(&quot;Title&quot;) %&gt;' Width=&quot;100&quot; /&gt;&lt;/td&gt; " & vbCrLf & _
"                                            &lt;td width=&quot;55%&quot;&gt;Desc:&lt;br /&gt;&lt;asp:TextBox ID=&quot;TextBox2&quot; runat=&quot;server&quot; " & vbCrLf & _
"                                                Text='&lt;%# Bind(&quot;Description&quot;) %&gt;' Width=&quot;150&quot; /&gt;&lt;/td&gt; " & vbCrLf & _
"                                            &lt;td width=&quot;15%&quot;&gt;Pri:&lt;br /&gt;&lt;asp:TextBox ID=&quot;TextBox3&quot; runat=&quot;server&quot; " & vbCrLf & _
"                                                Text='&lt;%# Bind(&quot;Priority&quot;) %&gt;' Width=&quot;40&quot; /&gt;&lt;/td&gt; " & vbCrLf & _
"                                        &lt;/tr&gt; " & vbCrLf & _
"                                    &lt;/table&gt; " & vbCrLf & _
"                                &lt;/asp:Panel&gt; " & vbCrLf & _
" " & vbCrLf & _
"                                &lt;ajaxToolkit:HoverMenuExtender ID=&quot;hme1&quot; runat=&quot;Server&quot; " & vbCrLf & _
"                                    TargetControlID=&quot;Panel9&quot; " & vbCrLf & _
"                                    PopupControlID=&quot;PopupMenu&quot; " & vbCrLf & _
"                                    HoverCssClass=&quot;popupHover&quot; " & vbCrLf & _
"                                    PopupPosition=&quot;Right&quot; /&gt; " & vbCrLf & _
"                                " & vbCrLf & _
"                                &lt;asp:Panel ID=&quot;PopupMenu&quot; runat=&quot;server&quot; CssClass=&quot;popupMenu&quot; Width=&quot;80&quot;&gt; " & vbCrLf & _
"                                    &lt;div style=&quot;border:1px outset white&quot;&gt; " & vbCrLf & _
"                                        &lt;asp:LinkButton ID=&quot;LinkButton1&quot; runat=&quot;server&quot; " & vbCrLf & _
"                                            CausesValidation=&quot;True&quot; CommandName=&quot;Update&quot; Text=&quot;Update&quot; /&gt; " & vbCrLf & _
"                                        &lt;br /&gt; " & vbCrLf & _
"                                        &lt;asp:LinkButton ID=&quot;LinkButton2&quot; runat=&quot;server&quot; " & vbCrLf & _
"                                            CausesValidation=&quot;False&quot; CommandName=&quot;Cancel&quot; Text=&quot;Cancel&quot; /&gt; " & vbCrLf & _
"                                    &lt;/div&gt; " & vbCrLf & _
"                                &lt;/asp:Panel&gt; " & vbCrLf & _
"                            &lt;/EditItemTemplate&gt; " & vbCrLf & _
"                        &lt;/asp:TemplateField&gt; " & vbCrLf & _
"                    &lt;/Columns&gt; " & vbCrLf & _
"                &lt;/asp:GridView&gt; " & vbCrLf & _
"                &lt;asp:ObjectDataSource ID=&quot;ObjectDataSource1&quot; runat=&quot;server&quot; DeleteMethod=&quot;Delete&quot; " & vbCrLf & _
"                    InsertMethod=&quot;Insert&quot; OldValuesParameterFormatString=&quot;original_{0}&quot; SelectMethod=&quot;Select&quot; " & vbCrLf & _
"                    TypeName=&quot;SessionTodoXmlDataObject&quot; UpdateMethod=&quot;Update&quot;&gt; " & vbCrLf & _
"                    &lt;DeleteParameters&gt; " & vbCrLf & _
"                        &lt;asp:Parameter Name=&quot;Original_ItemID&quot; Type=&quot;Int32&quot; /&gt; " & vbCrLf & _
"                    &lt;/DeleteParameters&gt; " & vbCrLf & _
"                    &lt;UpdateParameters&gt; " & vbCrLf & _
"                        &lt;asp:Parameter Name=&quot;Title&quot; Type=&quot;String&quot; /&gt; " & vbCrLf & _
"                        &lt;asp:Parameter Name=&quot;Description&quot; Type=&quot;String&quot; /&gt; " & vbCrLf & _
"                        &lt;asp:Parameter Name=&quot;Priority&quot; Type=&quot;Int32&quot; /&gt; " & vbCrLf & _
"                        &lt;asp:Parameter Name=&quot;Original_ItemID&quot; Type=&quot;Int32&quot; /&gt; " & vbCrLf & _
"                    &lt;/UpdateParameters&gt; " & vbCrLf & _
"                    &lt;InsertParameters&gt; " & vbCrLf & _
"                        &lt;asp:Parameter Name=&quot;Title&quot; Type=&quot;String&quot; /&gt; " & vbCrLf & _
"                        &lt;asp:Parameter Name=&quot;Description&quot; Type=&quot;String&quot; /&gt; " & vbCrLf & _
"                        &lt;asp:Parameter Name=&quot;Priority&quot; Type=&quot;Int32&quot; /&gt; " & vbCrLf & _
"                    &lt;/InsertParameters&gt; " & vbCrLf & _
"                &lt;/asp:ObjectDataSource&gt; " & vbCrLf & _
"            &lt;/ContentTemplate&gt; " & vbCrLf & _
"        &lt;/asp:UpdatePanel&gt; " & vbCrLf & _
"    &lt;/div&gt; " & vbCrLf & _
" "

    End Function


    Public Shared Function GetHTMLEditorExtender() As String
        Return "<div class=""demoarea""> " & _
"        <div class=""demoheading"">HTMLEditor Demonstration</div> " & _
"        <asp:UpdatePanel ID=""updatePanel1"" runat=""server""> " & _
"            <ContentTemplate> " & _
"                <HTMLEditor:Editor runat=""server"" OnContentChanged=""ContentChanged"" Id=""editor"" Height=""300px"" AutoFocus=""true"" Width=""100%"" /> " & _
"                <asp:Label runat=""server"" ID=""ContentChangedLabel"" /> " & _
"                <br /> " & _
"                <asp:Button runat=""server"" Text=""Submit content"" ID=""submit"" /> " & _
"            </ContentTemplate> " & _
"        </asp:UpdatePanel> " & _
"    </div> " & _
" "
    End Function

    Public Shared Function GetHTMLEditorExtenderCode() As String
        Return "&lt;div class=&quot;demoarea&quot;&gt; " & vbCrLf & _
"        &lt;div class=&quot;demoheading&quot;&gt;HTMLEditor Demonstration&lt;/div&gt; " & vbCrLf & _
"        &lt;asp:UpdatePanel ID=&quot;updatePanel1&quot; runat=&quot;server&quot;&gt; " & vbCrLf & _
"            &lt;ContentTemplate&gt; " & vbCrLf & _
"                &lt;HTMLEditor:Editor runat=&quot;server&quot; OnContentChanged=&quot;ContentChanged&quot; Id=&quot;editor&quot; Height=&quot;300px&quot; AutoFocus=&quot;true&quot; Width=&quot;100%&quot; /&gt; " & vbCrLf & _
"                &lt;asp:Label runat=&quot;server&quot; ID=&quot;ContentChangedLabel&quot; /&gt; " & vbCrLf & _
"                &lt;br /&gt; " & vbCrLf & _
"                &lt;asp:Button runat=&quot;server&quot; Text=&quot;Submit content&quot; ID=&quot;submit&quot; /&gt; " & vbCrLf & _
"            &lt;/ContentTemplate&gt; " & vbCrLf & _
"        &lt;/asp:UpdatePanel&gt; " & vbCrLf & _
"    &lt;/div&gt; " & vbCrLf & _
" "
    End Function


    Public Shared Function GetLineChart() As String
        Throw New NotImplementedException
    End Function

    Public Shared Function GetLineChartCode() As String
        Throw New NotImplementedException
    End Function


    Public Shared Function GetListSearch() As String
        Throw New NotImplementedException
    End Function

    Public Shared Function GetListSearchCode() As String
        Throw New NotImplementedException
    End Function


    Public Shared Function GetMaskedEdit() As String
        Throw New NotImplementedException
    End Function

    Public Shared Function GetMaskedEditCode() As String
        Throw New NotImplementedException
    End Function


    Public Shared Function GetModalPopup() As String
        Throw New NotImplementedException
    End Function

    Public Shared Function GetModalPopupCode() As String
        Throw New NotImplementedException
    End Function


    Public Shared Function GetMultiHandleSlider() As String
        Throw New NotImplementedException
    End Function

    Public Shared Function GetMultiHandleSliderCode() As String
        Throw New NotImplementedException
    End Function


    Public Shared Function GetMutuallyExclusiveCheckBox() As String
        Throw New NotImplementedException
    End Function

    Public Shared Function GetMutuallyExclusiveCheckBoxCode() As String
        Throw New NotImplementedException
    End Function


    Public Shared Function GetNoBot() As String
        Throw New NotImplementedException
    End Function

    Public Shared Function GetNoBotCode() As String
        Throw New NotImplementedException
    End Function


    Public Shared Function GetNumericUpDown() As String
        Throw New NotImplementedException
    End Function

    Public Shared Function GetNumericUpDownCode() As String
        Throw New NotImplementedException
    End Function


    Public Shared Function GetPagingBulletedList() As String
        Throw New NotImplementedException
    End Function

    Public Shared Function GetPagingBulletedListCode() As String
        Throw New NotImplementedException
    End Function


    Public Shared Function GetPasswordStrength() As String
        Throw New NotImplementedException
    End Function

    Public Shared Function GetPasswordStrengthCode() As String
        Throw New NotImplementedException
    End Function


    Public Shared Function GetPieChart() As String
        Throw New NotImplementedException
    End Function

    Public Shared Function GetPieChartCode() As String
        Throw New NotImplementedException
    End Function


    Public Shared Function GetPopupControl() As String
        Throw New NotImplementedException
    End Function

    Public Shared Function GetPopupControlCode() As String
        Throw New NotImplementedException
    End Function


    Public Shared Function GetRating() As String
        Throw New NotImplementedException
    End Function

    Public Shared Function GetRatingCode() As String
        Throw New NotImplementedException
    End Function


    Public Shared Function GetReorderList() As String
        Throw New NotImplementedException
    End Function

    Public Shared Function GetReorderListCode() As String
        Throw New NotImplementedException
    End Function


    Public Shared Function GetResizableControl() As String
        Throw New NotImplementedException
    End Function

    Public Shared Function GetResizableControlCode() As String
        Throw New NotImplementedException
    End Function


    Public Shared Function GetRoundedCorners() As String
        Throw New NotImplementedException
    End Function

    Public Shared Function GetRoundedCornersCode() As String
        Throw New NotImplementedException
    End Function


    Public Shared Function GetSeadragon() As String
        Throw New NotImplementedException
    End Function

    Public Shared Function GetSeadragonCode() As String
        Throw New NotImplementedException
    End Function


    Public Shared Function GetSlider() As String
        Throw New NotImplementedException
    End Function

    Public Shared Function GetSliderCode() As String
        Throw New NotImplementedException
    End Function


    Public Shared Function GetSlideShow() As String
        Throw New NotImplementedException
    End Function

    Public Shared Function GetSlideShowCode() As String
        Throw New NotImplementedException
    End Function


    Public Shared Function GetTabs() As String
        Throw New NotImplementedException
    End Function

    Public Shared Function GetTabsCode() As String
        Throw New NotImplementedException
    End Function


    Public Shared Function GetTextBoxWatermark() As String
        Throw New NotImplementedException
    End Function

    Public Shared Function GetTextBoxWatermarkCode() As String
        Throw New NotImplementedException
    End Function


    Public Shared Function GetToggleButton() As String
        Throw New NotImplementedException
    End Function

    Public Shared Function GetToggleButtonCode() As String
        Throw New NotImplementedException
    End Function


    Public Shared Function GetTwitter() As String
        Throw New NotImplementedException
    End Function

    Public Shared Function GetTwitterCode() As String
        Throw New NotImplementedException
    End Function


    Public Shared Function GetUpdatePanelAnimation() As String
        Throw New NotImplementedException
    End Function

    Public Shared Function GetUpdatePanelAnimationCode() As String
        Throw New NotImplementedException
    End Function


    Public Shared Function GetValidatorCallout() As String
        Throw New NotImplementedException
    End Function

    Public Shared Function GetValidatorCalloutCode() As String
        Throw New NotImplementedException
    End Function

End Class
